From abb4bca2b49a6c1ad33ad5883a3998335a72851d Mon Sep 17 00:00:00 2001 From: kevinzb56 <143kevinshah@gmail.com> Date: Fri, 2 May 2025 17:30:10 +0000 Subject: [PATCH] removed -n shortcut --- src/rspamadm/configdump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rspamadm/configdump.c b/src/rspamadm/configdump.c index 1bd3bbd98a..3e2ca637f3 100644 --- a/src/rspamadm/configdump.c +++ b/src/rspamadm/configdump.c @@ -67,7 +67,7 @@ static GOptionEntry entries[] = { "Show full symbol details only", NULL}, {"skip-template", 'T', 0, G_OPTION_ARG_NONE, &skip_template, "Do not apply Jinja templates", NULL}, - {"non-default", 'n', 0, G_OPTION_ARG_NONE, &non_default, "Show only non-default configuration", NULL}, + {"non-default", 0, 0, G_OPTION_ARG_NONE, &non_default, "Show only non-default configuration", NULL}, {NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL}}; static const char * @@ -77,14 +77,14 @@ rspamadm_configdump_help(gboolean full_help, const struct rspamadm_command *cmd) if (full_help) { help_str = "Perform configuration file dump\n\n" - "Usage: rspamadm configdump [-c [-j --compact -m -n] [ [ ...]]]\n" + "Usage: rspamadm configdump [-c [-j --compact -m] [ [ ...]]]\n" "Where options are:\n\n" "-j: output plain json\n" "--compact: output compacted json\n" "-c: config file to test\n" "-m: show state of modules only\n" "-h: show help for dumped options\n" - "-n: show only non-default configuration\n" + "--non-default: show only non-default configuration\n" "--help: shows available options and commands"; } else { -- 2.47.3