aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h4
-rw-r--r--include/usage.h10
2 files changed, 13 insertions, 1 deletions
diff --git a/include/applets.h b/include/applets.h
index e348516ea..f3b5f3d1c 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -508,6 +508,9 @@
#ifdef CONFIG_SED
APPLET(sed, sed_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_SEQ
+ APPLET(seq, seq_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_SETKEYCODES
APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
@@ -682,4 +685,3 @@
};
#endif
-
diff --git a/include/usage.h b/include/usage.h
index f4897e4c0..bc6655e38 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2094,6 +2094,16 @@
"$ echo "foo" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \
"bar\n"
+#define seq_trivial_usage \
+ "[first [increment]] last"
+#define seq_full_usage \
+ "Print numbers from FIRST to LAST, in steps of INCREMENT.\n" \
+ "FIRST, INCREMENT default to 1\n" \
+ "Arguments:\n" \
+ "\tLAST\n" \
+ "\tFIRST\tLAST\n" \
+ "\tFIRST\tINCREMENT\tLAST\n"
+
#define setkeycodes_trivial_usage \
"SCANCODE KEYCODE ..."
#define setkeycodes_full_usage \