#include <stdio.h>
#include "common/gru_colors.h"
#include "common/gru_portable.h"
Go to the source code of this file.
◆ gru_cli_general_usage()
| gru_export void gru_cli_general_usage |
( |
const char * |
appname | ) |
|
Prints program basic usage.
- Parameters
-
◆ gru_cli_option_help()
| gru_export void gru_cli_option_help |
( |
const char * |
long_opt, |
|
|
const char * |
short_opt, |
|
|
const char * |
desc |
|
) |
| |
Prints CLI options help.
- Parameters
-
| long_opt | long option |
| short_opt | short option |
| desc | description |
◆ gru_cli_program_description()
| gru_export void gru_cli_program_description |
( |
const char * |
program, |
|
|
const char * |
description |
|
) |
| |
Prints program description for composed programs.
- Parameters
-
| appname | Application name |
| description | Description |
◆ gru_cli_program_usage()
| gru_export void gru_cli_program_usage |
( |
const char * |
appname, |
|
|
const char * |
program_name |
|
) |
| |
Prints program usage for composed program types.
- Parameters
-
| appname | Application name |
| program_name | Program name |