diff options
author | Jim Meyering <jim@meyering.net> | 2004-02-21 09:21:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-02-21 09:21:15 +0000 |
commit | 3fd433e9d32353f17b781053faa56f3149942694 (patch) | |
tree | 7de3152764156a4b9ca194f4f24918b167ac6134 | |
parent | 47c4268b6b33473201e2e3d691b87effa82e1b70 (diff) | |
download | coreutils-3fd433e9d32353f17b781053faa56f3149942694.tar.xz |
(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.
-rw-r--r-- | src/comm.c | 16 |
1 files 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); |