[git commit] sed: better help text
Denys Vlasenko
vda.linux at googlemail.com
Tue Sep 13 16:40:22 UTC 2011
commit: http://git.busybox.net/busybox/commit/?id=a221bc5f9909a6914ec6f4d14f76bb28c4a4cddf
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
editors/sed.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/editors/sed.c b/editors/sed.c
index 1552cf3..c8bb503 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -26,7 +26,7 @@
* add_input_file() adds a FILE* to the list of input files. We need to
* know all input sources ahead of time to find the last line for the $ match.
*
- * process_files() does actual sedding, reading data lines from each input FILE *
+ * process_files() does actual sedding, reading data lines from each input FILE*
* (which could be stdin) and applying the sed command list (sed_cmd_head) to
* each of the resulting lines.
*
@@ -57,7 +57,8 @@
*/
//usage:#define sed_trivial_usage
-//usage: "[-efinr] SED_CMD [FILE]..."
+//usage: "[-inr] [-f FILE]... [-e CMD]... [FILE]...\n"
+//usage: "or: sed [-inr] CMD [FILE]..."
//usage:#define sed_full_usage "\n\n"
//usage: " -e CMD Add CMD to sed commands to be executed"
//usage: "\n -f FILE Add FILE contents to sed commands to be executed"
--
1.7.3.4
More information about the busybox-cvs
mailing list