summaryrefslogtreecommitdiff
path: root/sysdep/unix/config.Y
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-09-22 23:32:22 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-09-23 14:52:31 +0200
commit9c79022153c6ef3a6c35b2db8be6b259104e67f3 (patch)
treed800b380b6365b9bc811c46ed19b084ae7f38898 /sysdep/unix/config.Y
parent3f477ccb03ed99cf6754baaca179fcf791bcda55 (diff)
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.
Diffstat (limited to 'sysdep/unix/config.Y')
-rw-r--r--sysdep/unix/config.Y2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/unix/config.Y b/sysdep/unix/config.Y
index c76eb73b..af82e5bd 100644
--- a/sysdep/unix/config.Y
+++ b/sysdep/unix/config.Y
@@ -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(); } ;