summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Landley2004-05-26 21:59:31 +0000
committerRob Landley2004-05-26 21:59:31 +0000
commit1ce59684431570dbf23790d236c13e8c16877c37 (patch)
tree44361abc914426cdf9a95f0f11fd269cec8dba1e /include
parent86af052d250727fd3203bad7e46790b1ba33a551 (diff)
downloadbusybox-1ce59684431570dbf23790d236c13e8c16877c37.zip
busybox-1ce59684431570dbf23790d236c13e8c16877c37.tar.gz
Update sed help. (Add -r option to long help, add -i option to brief help,
and alphabetizie the option list.)
Diffstat (limited to 'include')
-rw-r--r--include/usage.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/usage.h b/include/usage.h
index 1cc6703..987965c 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2066,14 +2066,15 @@
"$ rx /tmp/foo\n"
#define sed_trivial_usage \
- "[-nef] pattern [files...]"
+ "[-efinr] pattern [files...]"
#define sed_full_usage \
"Options:\n" \
- "\t-n\t\tsuppress automatic printing of pattern space\n" \
"\t-e script\tadd the script to the commands to be executed\n" \
"\t-f scriptfile\tadd script-file contents to the\n" \
"\t\t\tcommands to be executed\n" \
- "\t-i\t\tEdit files in-place\n" \
+ "\t-i\t\tedit files in-place\n" \
+ "\t-n\t\tsuppress automatic printing of pattern space\n" \
+ "\t-r\t\tuse extended regular expression syntax\n"
"\n" \
"If no -e or -f is given, the first non-option argument is taken as the sed\n"\
"script to interpret. All remaining arguments are names of input files; if no\n"\