diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-09-15 19:26:59 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-09-15 19:26:59 +0000 |
commit | 7aa861645707e6b7e43eccd866eee27221c29efc (patch) | |
tree | 064e422cc8f868ef50db35178f9fabc29ddd5451 /include/usage.h | |
parent | 68524a0b091e41ab470c665669f07b8f59982411 (diff) | |
download | busybox-w32-7aa861645707e6b7e43eccd866eee27221c29efc.tar.gz busybox-w32-7aa861645707e6b7e43eccd866eee27221c29efc.tar.bz2 busybox-w32-7aa861645707e6b7e43eccd866eee27221c29efc.zip |
New applet "less", from Rob Sullivan.
git-svn-id: svn://busybox.net/trunk/busybox@11472 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 16 |
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 @@ | |||
1498 | "$ length Hello\n" \ | 1498 | "$ length Hello\n" \ |
1499 | "5\n" | 1499 | "5\n" |
1500 | 1500 | ||
1501 | #define less_trivial_usage \ | ||
1502 | "[-EMNmh~?] FILE1 FILE2..." | ||
1503 | #define less_full_usage \ | ||
1504 | "View a file or list of files. The position within files can be\n" \ | ||
1505 | "changed, and files can be manipulated in various ways with the\n" \ | ||
1506 | "following options:\n\n" \ | ||
1507 | "\t-E\tQuit once the end of a file is reached\n" \ | ||
1508 | "\t-M\tDisplay a status line containing the current line numbers\n" \ | ||
1509 | "\t\tand the percentage through the file\n" \ | ||
1510 | "\t-N\tPrefix line numbers to each line\n" \ | ||
1511 | "\t-m\tDisplay a status line containing the percentage through the\n" \ | ||
1512 | "\t\tfile\n" \ | ||
1513 | "\t-~\tSuppress ~s displayed when input past the end of the file is\n" \ | ||
1514 | "\t\treached.\n" \ | ||
1515 | "\t-h, -?\tDisplay this help message\n" | ||
1516 | |||
1501 | #define ln_trivial_usage \ | 1517 | #define ln_trivial_usage \ |
1502 | "[OPTION] TARGET... LINK_NAME|DIRECTORY" | 1518 | "[OPTION] TARGET... LINK_NAME|DIRECTORY" |
1503 | #define ln_full_usage \ | 1519 | #define ln_full_usage \ |