]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Nest: Fix help for 'graceful restart' command
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 22 Sep 2019 21:32:22 +0000 (23:32 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 23 Sep 2019 12:52:31 +0000 (14:52 +0200)
Multi-worded commands are not automatically added to top-level
help output.

Thanks to Christoph for the bugreport.

sysdep/unix/config.Y

index c76eb73b80b3eb4fc12465c5f033970a4f82b9e7..af82e5bdd77532111bfffd5b5a9a55f4d2f0eef3 100644 (file)
@@ -134,6 +134,8 @@ CF_CLI(CONFIGURE CHECK, cfg_name, [\"<file>\"], [[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(); } ;