mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
Synch usage() and manpage for b64encode/b64decode.
Make uudecode's usage more like that of other programs.
This commit is contained in:
parent
09bf07df21
commit
28130e4305
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96943
@ -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