app/status: make deprecated --pretty flag hidden
Minor detail. We still need to support the `--pretty` flag, but it doesn't do anything anymore, so let's just hide it to clean up the help output. Closes: #1060 Approved by: cgwalters
This commit is contained in:
parent
aea688fa01
commit
cd3da57453
@ -40,7 +40,7 @@ static gboolean opt_verbose;
|
||||
static gboolean opt_json;
|
||||
|
||||
static GOptionEntry option_entries[] = {
|
||||
{ "pretty", 'p', 0, G_OPTION_ARG_NONE, &opt_pretty, "This option is deprecated and no longer has any effect", NULL },
|
||||
{ "pretty", 'p', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &opt_pretty, "This option is deprecated and no longer has any effect", NULL },
|
||||
{ "verbose", 'v', 0, G_OPTION_ARG_NONE, &opt_verbose, "Print additional fields (e.g. StateRoot)", NULL },
|
||||
{ "json", 0, 0, G_OPTION_ARG_NONE, &opt_json, "Output JSON", NULL },
|
||||
{ NULL }
|
||||
|
Loading…
Reference in New Issue
Block a user