summaryrefslogtreecommitdiffstats
path: root/usr.bin/unifdef
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-05-21 09:55:10 +0000
committerru <ru@FreeBSD.org>2005-05-21 09:55:10 +0000
commit0491ba1f6311b421efbea894a9c8c6c704b48cac (patch)
tree4870c75413d8f7d09b554f2a2207e1d05af42979 /usr.bin/unifdef
parent5a7d45e3b5455d554665269116b17dfc57718640 (diff)
downloadFreeBSD-src-0491ba1f6311b421efbea894a9c8c6c704b48cac.zip
FreeBSD-src-0491ba1f6311b421efbea894a9c8c6c704b48cac.tar.gz
Sync program's usage() with manpage's SYNOPSIS.
Diffstat (limited to 'usr.bin/unifdef')
-rw-r--r--usr.bin/unifdef/unifdef.15
-rw-r--r--usr.bin/unifdef/unifdef.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/unifdef/unifdef.1 b/usr.bin/unifdef/unifdef.1
index 4a53ed1..02cbfeb 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 d57ea63..dd2f23e 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);
}
OpenPOWER on IntegriCloud