Synch usage() and manpage for b64encode/b64decode.
Make uudecode's usage more like that of other programs.
This commit is contained in:
parent
1fb080cae2
commit
073610e016
@ -352,7 +352,10 @@ base64_decode(const char *stream)
|
||||
static void
|
||||
usage(void)
|
||||
{
|
||||
(void)fprintf(stderr, "usage: uudecode [-cips] [file ...]\n");
|
||||
(void)fprintf(stderr, "usage: uudecode [-i] -o output_file [file]\n");
|
||||
(void)fprintf(stderr,
|
||||
"usage: uudecode [-cips] [file ...]\n"
|
||||
" uudecode [-i] -o output_file [file]\n"
|
||||
" b64decode [-cips] [file ...]\n"
|
||||
" b64decode [-i] -o output_file [file]\n");
|
||||
exit(1);
|
||||
}
|
||||
|
@ -58,6 +58,9 @@
|
||||
.Op Ar file
|
||||
.Ar name
|
||||
.Nm b64decode
|
||||
.Op Fl cips
|
||||
.Op Ar
|
||||
.Nm b64decode
|
||||
.Op Fl i
|
||||
.Fl o Ar output_file
|
||||
.Op Ar file
|
||||
|
@ -219,6 +219,8 @@ encode(void)
|
||||
static void
|
||||
usage(void)
|
||||
{
|
||||
(void)fprintf(stderr,"usage: uuencode [-m] [-o outfile] [infile] remotefile\n");
|
||||
(void)fprintf(stderr,
|
||||
"usage: uuencode [-m] [-o outfile] [infile] remotefile\n"
|
||||
" b64encode [-o outfile] [infile] remotefile\n");
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user