summaryrefslogtreecommitdiffstats
path: root/usr.bin/join/join.c
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2004-08-25 13:15:07 +0000
committermaxim <maxim@FreeBSD.org>2004-08-25 13:15:07 +0000
commit5810faeee1a1b607d5ab1ac30677d868302177e6 (patch)
tree4de0bdd05bbde1ccc43c75b65283eff729419fe8 /usr.bin/join/join.c
parenta2512dc38ee5cc546ce25a504efafdf0ff801a08 (diff)
downloadFreeBSD-src-5810faeee1a1b607d5ab1ac30677d868302177e6.zip
FreeBSD-src-5810faeee1a1b607d5ab1ac30677d868302177e6.tar.gz
Add -j flag to usage() and the man page synopsis.
Inspired by: DragonFlyBSD
Diffstat (limited to 'usr.bin/join/join.c')
-rw-r--r--usr.bin/join/join.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/join/join.c b/usr.bin/join/join.c
index 097ecbe..5e45850 100644
--- a/usr.bin/join/join.c
+++ b/usr.bin/join/join.c
@@ -661,9 +661,10 @@ jbad: errx(1, "illegal option -- %s", ap);
void
usage(void)
{
- (void)fprintf(stderr, "%s %s\n%s\n",
- "usage: join [-a fileno | -v fileno ] [-e string] [-1 field]",
- "[-2 field]",
- " [-o list] [-t char] file1 file2");
+ (void)fprintf(stderr, "%s %s\n%s %s\n",
+ "usage: join [-a fileno | -v fileno ]",
+ "[-e string] [-j fileno field]",
+ " [-1 field] [-2 field]",
+ "[-o list] [-t char] file1 file2");
exit(1);
}
OpenPOWER on IntegriCloud