From 3fd433e9d32353f17b781053faa56f3149942694 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 21 Feb 2004 09:21:15 +0000 Subject: (usage): Tell what comm does when there are no options. Reword in terms of FILE1 and FILE2 rather than `left file' and `right file'. Suggestion from Dan Jacobson. --- src/comm.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/comm.c b/src/comm.c index a2541433f..e7acf3393 100644 --- a/src/comm.c +++ b/src/comm.c @@ -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); -- cgit v1.2.3-70-g09d2