diff options
author | Pádraig Brady <P@draigBrady.com> | 2022-03-29 16:34:10 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2022-03-29 16:34:10 +0100 |
commit | 120ce321d5f768c00b9e193af4edd5ccceaa45e0 (patch) | |
tree | db8d5abecd195972e5cf857e799b083834c99851 | |
parent | e07c40c3ea77084b9ef8c0a2e10eb62f0175a606 (diff) | |
download | coreutils-120ce321d5f768c00b9e193af4edd5ccceaa45e0.tar.gz |
doc: join: clarify that -e only effective for -12jo fields
* src/join.c (usage): Clarify that -e is not sufficient
to enable output of missing fields from one of the inputs.
Rather the -12jo options are required to explicitly
enable output of those fields.
Fixes https://bugs.gnu.org/54625
-rw-r--r-- | src/join.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/join.c b/src/join.c index 3d62ca43a..f2fd1727b 100644 --- a/src/join.c +++ b/src/join.c @@ -206,7 +206,11 @@ When FILE1 or FILE2 (not both) is -, read standard input.\n\ \n\ -a FILENUM also print unpairable lines from file FILENUM, where\n\ FILENUM is 1 or 2, corresponding to FILE1 or FILE2\n\ - -e EMPTY replace missing input fields with EMPTY\n\ +"), stdout); + fputs (_("\ + -e STRING replace missing (empty) input fields with STRING;\n\ + I.e., missing fields specified with '-12jo' options\ +\n\ "), stdout); fputs (_("\ -i, --ignore-case ignore differences in case when comparing fields\n\ |