summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-12-06 22:22:15 (EST)
committer P. J. McDermott <pj@pehjota.net>2015-12-06 22:22:15 (EST)
commit62856814b0c9fcde31e4b0e3587d9ddd44f1992e (patch)
tree3e4f051de09a27ce031c39790e92e53c62903d7a
parentf3657bc5dbf6befb20bd54d19940251846fe147e (diff)
cmd/help: Use register_cmd()
-rw-r--r--lib/cmd/help.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/cmd/help.sh b/lib/cmd/help.sh
index 7515fdb..c699c73 100644
--- a/lib/cmd/help.sh
+++ b/lib/cmd/help.sh
@@ -39,3 +39,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