From 7b28415483a684c7029f0d2031946b03646c82a1 Mon Sep 17 00:00:00 2001
From: Rob Landley <rob@landley.net>
Date: Mon, 26 Oct 2009 16:04:07 -0500
Subject: Minor usage tweak for sed.

Makes it slightly smaller and (in my opinion) clearer.

Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
 include/usage.h | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

(limited to 'include')

diff --git a/include/usage.h b/include/usage.h
index 85561c558..591f09184 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3812,14 +3812,12 @@
        "Options:" \
      "\n	-e CMD	Add CMD to sed commands to be executed" \
      "\n	-f FILE	Add FILE contents to sed commands to be executed" \
-     "\n	-i	Edit files in-place" \
+     "\n	-i	Edit files in-place (default uses stdout for all output)" \
      "\n	-n	Suppress automatic printing of pattern space" \
      "\n	-r	Use extended regex syntax" \
      "\n" \
-     "\nIf no -e or -f is given, the first non-option argument is taken as the sed" \
-     "\ncommand to interpret. All remaining arguments are names of input files; if no" \
-     "\ninput files are specified, then the standard input is read. Source files" \
-     "\nwill not be modified unless -i option is given." \
+     "\nIf no -e or -f, the first non-option argument is the sed command string." \
+     "\nRemaining arguments are input files (stdin if none)."
 
 #define sed_example_usage \
        "$ echo \"foo\" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \
-- 
cgit v1.2.3