[git commit] sed: document -E in help text

Denys Vlasenko vda.linux at googlemail.com
Wed Oct 30 12:00:00 UTC 2013


commit: http://git.busybox.net/busybox/commit/?id=a82e32d9ce199db01aaea92ebcb39a23d90e5b85
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 editors/sed.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/editors/sed.c b/editors/sed.c
index e3cce43..5577f35 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -59,15 +59,15 @@
  */
 
 //usage:#define sed_trivial_usage
-//usage:       "[-inr] [-f FILE]... [-e CMD]... [FILE]...\n"
-//usage:       "or: sed [-inr] CMD [FILE]..."
+//usage:       "[-inrE] [-f FILE]... [-e CMD]... [FILE]...\n"
+//usage:       "or: sed [-inrE] 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"
 //usage:     "\n	-i[SFX]	Edit files in-place (otherwise sends to stdout)"
 //usage:     "\n		Optionally back files up, appending SFX"
 //usage:     "\n	-n	Suppress automatic printing of pattern space"
-//usage:     "\n	-r	Use extended regex syntax"
+//usage:     "\n	-r,-E	Use extended regex syntax"
 //usage:     "\n"
 //usage:     "\nIf no -e or -f, the first non-option argument is the sed command string."
 //usage:     "\nRemaining arguments are input files (stdin if none)."


More information about the busybox-cvs mailing list