Merge branch 'rs/opt-help-text'
* rs/opt-help-text: verify-tag: document --verbose branch: improve --verbose description archive: improve --verbose description Describe various forms of "be quiet" using OPT__QUIET add OPT__FORCE add description parameter to OPT__QUIET add description parameter to OPT__DRY_RUN add description parameter to OPT__VERBOSE
This commit is contained in:
@ -1200,7 +1200,7 @@ static int prune(int argc, const char **argv)
|
||||
{
|
||||
int dry_run = 0, result = 0;
|
||||
struct option options[] = {
|
||||
OPT__DRY_RUN(&dry_run),
|
||||
OPT__DRY_RUN(&dry_run, "dry run"),
|
||||
OPT_END()
|
||||
};
|
||||
|
||||
@ -1512,7 +1512,7 @@ static int show_all(void)
|
||||
int cmd_remote(int argc, const char **argv, const char *prefix)
|
||||
{
|
||||
struct option options[] = {
|
||||
OPT_BOOLEAN('v', "verbose", &verbose, "be verbose; must be placed before a subcommand"),
|
||||
OPT__VERBOSE(&verbose, "be verbose; must be placed before a subcommand"),
|
||||
OPT_END()
|
||||
};
|
||||
int result;
|
||||
|
Reference in New Issue
Block a user