aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-09-15 19:26:59 +0000
committerRob Landley <rob@landley.net>2005-09-15 19:26:59 +0000
commit9200e79d21dbe3d91498f8fc7d33531286ae7d0d (patch)
tree064e422cc8f868ef50db35178f9fabc29ddd5451 /include/usage.h
parentbfd94c43310a7bbe679fc7185a7c19a3ed0e59ee (diff)
downloadbusybox-9200e79d21dbe3d91498f8fc7d33531286ae7d0d.tar.gz
New applet "less", from Rob Sullivan.
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 9ddd55fd8..43b6f7048 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1498,6 +1498,22 @@
"$ length Hello\n" \
"5\n"
+#define less_trivial_usage \
+ "[-EMNmh~?] FILE1 FILE2..."
+#define less_full_usage \
+ "View a file or list of files. The position within files can be\n" \
+ "changed, and files can be manipulated in various ways with the\n" \
+ "following options:\n\n" \
+ "\t-E\tQuit once the end of a file is reached\n" \
+ "\t-M\tDisplay a status line containing the current line numbers\n" \
+ "\t\tand the percentage through the file\n" \
+ "\t-N\tPrefix line numbers to each line\n" \
+ "\t-m\tDisplay a status line containing the percentage through the\n" \
+ "\t\tfile\n" \
+ "\t-~\tSuppress ~s displayed when input past the end of the file is\n" \
+ "\t\treached.\n" \
+ "\t-h, -?\tDisplay this help message\n"
+
#define ln_trivial_usage \
"[OPTION] TARGET... LINK_NAME|DIRECTORY"
#define ln_full_usage \