Add -j flag to usage() and the man page synopsis.
Inspired by: DragonFlyBSD
This commit is contained in:
parent
a2512dc38e
commit
5810faeee1
@ -47,6 +47,7 @@
|
||||
.Fl a Ar file_number | Fl v Ar file_number
|
||||
.Oc
|
||||
.Op Fl e Ar string
|
||||
.Op Fl j Ar fileno field
|
||||
.Op Fl o Ar list
|
||||
.Bk -words
|
||||
.Ek
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user