/builddir/build/BUILD/gru-0.2.0/src/cli/gru_cli_opt.h File Reference
#include <stdio.h>
#include "common/gru_colors.h"
#include "common/gru_portable.h"
Go to the source code of this file.
Functions |
gru_export void | gru_cli_option_help (const char *long_opt, const char *short_opt, const char *desc) |
| Prints CLI options help.
|
gru_export void | gru_cli_program_usage (const char *appname, const char *program_name) |
| Prints program usage for composed program types.
|
gru_export void | gru_cli_program_description (const char *program, const char *description) |
| Prints program description for composed programs.
|
gru_export void | gru_cli_general_usage (const char *appname) |
| Prints program basic usage.
|
Function Documentation
gru_export void gru_cli_general_usage |
( |
const char * |
appname |
) |
|
Prints program basic usage.
- Parameters:
-
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_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_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 |