From a82e32d9ce199db01aaea92ebcb39a23d90e5b85 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 30 Oct 2013 13:00:00 +0100 Subject: [PATCH] sed: document -E in help text Signed-off-by: Denys Vlasenko --- editors/sed.c | 6 +++--- 1 file 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)." -- 2.7.4