Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
vstan02 committed Jun 22, 2021
1 parent 9739c96 commit d63bcd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Here is an example of usage (for the full version see [demo/main.c](https://gith
cnx_cli_t* cli = cnx_cli_init((cnx_app_t) { "my_app", "2.8.1" });

// Adding some options for handling:
cnx_cli_add(cli, 4, (cnx_option_t[]) {
cnx_cli_add(cli, 5, (cnx_option_t[]) {
// cnx_option_t -> { name, description, handler, payload }.
{ "-a, --about", "Display something", about_option, NULL },
{ "-p, --print", "Display passed arguments", print_args_option, NULL },
Expand Down

0 comments on commit d63bcd8

Please sign in to comment.