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.
This commit is contained in:
Ondrej Zajicek (work) 2019-09-22 23:32:22 +02:00
parent 3f477ccb03
commit 9c79022153

View 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(); } ;