mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
parser: cleanup/fix flagtable display for the warn, dump, and Optimize options
This changes the flagtable header from warn: --./apparmor_parser [Option] -O: --./apparmor_parser [Option] dump: --./apparmor_parser [Option] to ./apparmor_parser: --warn=[Option] ./apparmor_parser: -O [Option] ./apparmor_parser: --dump=[Option] MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/600 Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -169,10 +169,10 @@ void flagtable_help(const char *name, const char *header, const char *command,
|
||||
optflag_table_t *table)
|
||||
{
|
||||
display_version();
|
||||
printf("\n%s: --%s [Option]\n\n"
|
||||
printf("\n%s: %s[Option]\n\n"
|
||||
"%s"
|
||||
"Options:\n"
|
||||
"--------\n"
|
||||
,name, command, header);
|
||||
,command, name, header);
|
||||
print_flag_table(table);
|
||||
}
|
||||
|
Reference in New Issue
Block a user