aboutsummaryrefslogtreecommitdiff
path: root/toys/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/help.c')
-rw-r--r--toys/help.c24
1 files changed, 21 insertions, 3 deletions
diff --git a/toys/help.c b/toys/help.c
index 42d06a8c..472ccdea 100644
--- a/toys/help.c
+++ b/toys/help.c
@@ -1,9 +1,27 @@
-/* vi: set sw=4 ts=4: */
-/*
+/* vi: set sw=4 ts=4:
+ *
* help.c - Show help for toybox
*
+ * Copyright 2007 Rob Landley <rob@landley.net>
+ *
* Not in SUSv3, but exists as a bash builtin.
- */
+
+config HELP
+ bool "help"
+ default y
+ help
+ usage: help [command]
+
+ Show usage information for toybox commands.
+
+config HELP_LONG
+ bool "Verbose help text"
+ default y
+ depends on HELP
+ help
+ Show more than one line of help information per command.
+*/
+
#include "toys.h"
#include "generated/help.h"