]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(usage): Tell what comm does when there are no options.
authorJim Meyering <jim@meyering.net>
Sat, 21 Feb 2004 09:21:15 +0000 (09:21 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 21 Feb 2004 09:21:15 +0000 (09:21 +0000)
Reword in terms of FILE1 and FILE2 rather than `left file' and
`right file'.  Suggestion from Dan Jacobson.

src/comm.c

index a2541433f00d232ddc8881c648762c79df2b6f7c..e7acf33939e599168932f1193e0b808fb072dafd 100644 (file)
@@ -70,14 +70,22 @@ usage (int status)
   else
     {
       printf (_("\
-Usage: %s [OPTION]... LEFT_FILE RIGHT_FILE\n\
+Usage: %s [OPTION]... FILE1 FILE2\n\
 "),
              program_name);
       fputs (_("\
-Compare sorted files LEFT_FILE and RIGHT_FILE line by line.\n\
+Compare sorted files FILE1 and FILE2 line by line.\n\
+"), stdout);
+      fputs (_("\
+\n\
+With no options, produce three-column output.  Column one contains\n\
+lines unique to FILE1, column two contains lines unique to FILE2,\n\
+and column three contains lines common to both files.\n\
+"), stdout);
+      fputs (_("\
 \n\
-  -1              suppress lines unique to left file\n\
-  -2              suppress lines unique to right file\n\
+  -1              suppress lines unique to FILE1\n\
+  -2              suppress lines unique to FILE2\n\
   -3              suppress lines that appear in both files\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);