From: Ondrej Zajicek (work) Date: Sun, 22 Sep 2019 21:32:22 +0000 (+0200) Subject: Nest: Fix help for 'graceful restart' command X-Git-Tag: v2.0.7~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c79022153c6ef3a6c35b2db8be6b259104e67f3;p=thirdparty%2Fbird.git Nest: Fix help for 'graceful restart' command Multi-worded commands are not automatically added to top-level help output. Thanks to Christoph for the bugreport. --- diff --git a/sysdep/unix/config.Y b/sysdep/unix/config.Y index c76eb73b8..af82e5bdd 100644 --- a/sysdep/unix/config.Y +++ b/sysdep/unix/config.Y @@ -134,6 +134,8 @@ CF_CLI(CONFIGURE CHECK, cfg_name, [\"\"], [[Parse configuration and check CF_CLI(DOWN,,, [[Shut the daemon down]]) { cmd_shutdown(); } ; +CF_CLI_HELP(GRACEFUL, restart, [[Shut the daemon down for graceful restart]]) + CF_CLI(GRACEFUL RESTART,,, [[Shut the daemon down for graceful restart]]) { cmd_graceful_restart(); } ;