diff options
author | Rob Landley <rob@landley.net> | 2004-05-26 21:59:31 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2004-05-26 21:59:31 +0000 |
commit | 1ce59684431570dbf23790d236c13e8c16877c37 (patch) | |
tree | 44361abc914426cdf9a95f0f11fd269cec8dba1e | |
parent | 86af052d250727fd3203bad7e46790b1ba33a551 (diff) | |
download | busybox-w32-1ce59684431570dbf23790d236c13e8c16877c37.tar.gz busybox-w32-1ce59684431570dbf23790d236c13e8c16877c37.tar.bz2 busybox-w32-1ce59684431570dbf23790d236c13e8c16877c37.zip |
Update sed help. (Add -r option to long help, add -i option to brief help,
and alphabetizie the option list.)
-rw-r--r-- | include/usage.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/usage.h b/include/usage.h index 1cc67033c..987965c59 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2066,14 +2066,15 @@ | |||
2066 | "$ rx /tmp/foo\n" | 2066 | "$ rx /tmp/foo\n" |
2067 | 2067 | ||
2068 | #define sed_trivial_usage \ | 2068 | #define sed_trivial_usage \ |
2069 | "[-nef] pattern [files...]" | 2069 | "[-efinr] pattern [files...]" |
2070 | #define sed_full_usage \ | 2070 | #define sed_full_usage \ |
2071 | "Options:\n" \ | 2071 | "Options:\n" \ |
2072 | "\t-n\t\tsuppress automatic printing of pattern space\n" \ | ||
2073 | "\t-e script\tadd the script to the commands to be executed\n" \ | 2072 | "\t-e script\tadd the script to the commands to be executed\n" \ |
2074 | "\t-f scriptfile\tadd script-file contents to the\n" \ | 2073 | "\t-f scriptfile\tadd script-file contents to the\n" \ |
2075 | "\t\t\tcommands to be executed\n" \ | 2074 | "\t\t\tcommands to be executed\n" \ |
2076 | "\t-i\t\tEdit files in-place\n" \ | 2075 | "\t-i\t\tedit files in-place\n" \ |
2076 | "\t-n\t\tsuppress automatic printing of pattern space\n" \ | ||
2077 | "\t-r\t\tuse extended regular expression syntax\n" | ||
2077 | "\n" \ | 2078 | "\n" \ |
2078 | "If no -e or -f is given, the first non-option argument is taken as the sed\n"\ | 2079 | "If no -e or -f is given, the first non-option argument is taken as the sed\n"\ |
2079 | "script to interpret. All remaining arguments are names of input files; if no\n"\ | 2080 | "script to interpret. All remaining arguments are names of input files; if no\n"\ |