summaryrefslogtreecommitdiffstats
path: root/src/cmd/help.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-07-22 15:26:49 (EDT)
committer P. J. McDermott <pj@pehjota.net>2017-07-22 15:26:49 (EDT)
commit57f67e1dc1b1c8ec7e251138ab1d355b7b9f3bd1 (patch)
tree4ae7ad7405a3d5c546419a51e56a88e57e0ebdb3 /src/cmd/help.sh
parent719c1bcbdfda016f7b3bd10b9b35631739586fec (diff)
cmd/*: Use register_cmd()
Diffstat (limited to 'src/cmd/help.sh')
-rw-r--r--src/cmd/help.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/help.sh b/src/cmd/help.sh
index 8b4cd58..628b0dc 100644
--- a/src/cmd/help.sh
+++ b/src/cmd/help.sh
@@ -38,3 +38,9 @@ cmd_help_main()
printf "$(get_msg 'cmd_help_summary_head')\n"
print_cmd_summaries
}
+
+cmd_help_register()
+{
+ register_cmd 'help'
+}
+__init cmd_help_register