diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-05-21 09:55:10 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-05-21 09:55:10 +0000 |
commit | f682f10c76449b3af3b1dd9afff859cd1cd07116 (patch) | |
tree | 4870c75413d8f7d09b554f2a2207e1d05af42979 /usr.bin/unifdef | |
parent | 9b3eb503540780da14e359b10886a885eb649497 (diff) | |
download | src-test2-f682f10c76449b3af3b1dd9afff859cd1cd07116.tar.gz src-test2-f682f10c76449b3af3b1dd9afff859cd1cd07116.zip |
Sync program's usage() with manpage's SYNOPSIS.
Notes
Notes:
svn path=/head/; revision=146466
Diffstat (limited to 'usr.bin/unifdef')
-rw-r--r-- | usr.bin/unifdef/unifdef.1 | 5 | ||||
-rw-r--r-- | usr.bin/unifdef/unifdef.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/unifdef/unifdef.1 b/usr.bin/unifdef/unifdef.1 index 4a53ed16b251..02cbfeba8ad5 100644 --- a/usr.bin/unifdef/unifdef.1 +++ b/usr.bin/unifdef/unifdef.1 @@ -41,7 +41,7 @@ .Nd remove preprocessor conditionals from code .Sh SYNOPSIS .Nm -.Op Fl ceklnst +.Op Fl cdeklnst .Op Fl I Ns Ar path .Op Fl D Ns Ar sym Ns Op = Ns Ar val .Op Fl U Ns Ar sym @@ -153,6 +153,9 @@ is complemented, i.e., the lines that would have been removed or blanked are retained and vice versa. .Pp +.It Fl d +Turn on printing of degugging messages. +.Pp .It Fl e Because .Nm diff --git a/usr.bin/unifdef/unifdef.c b/usr.bin/unifdef/unifdef.c index d57ea63f4445..dd2f23e08ff3 100644 --- a/usr.bin/unifdef/unifdef.c +++ b/usr.bin/unifdef/unifdef.c @@ -300,7 +300,7 @@ main(int argc, char *argv[]) static void usage(void) { - fprintf(stderr, "usage: unifdef [-cdeklnst]" + fprintf(stderr, "usage: unifdef [-cdeklnst] [-Ipath]" " [-Dsym[=val]] [-Usym] [-iDsym[=val]] [-iUsym] ... [file]\n"); exit(2); } |