diff options
author | gjb <gjb@FreeBSD.org> | 2013-02-28 01:22:14 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2013-02-28 01:22:14 +0000 |
commit | 9d861dbb5610d58af957b37050bea1b9e6cacf2b (patch) | |
tree | b37b47e8bca233a4d3df0b390f4c9b34b3bf27e1 /usr.bin/dc | |
parent | 552b404fb268fbef96316a878c5e8b00892d1dfd (diff) | |
download | FreeBSD-src-9d861dbb5610d58af957b37050bea1b9e6cacf2b.zip FreeBSD-src-9d861dbb5610d58af957b37050bea1b9e6cacf2b.tar.gz |
Properly handle '-h' argument.
PR: 176332
Reviewed by: scottl
MFC after: 3 days
Diffstat (limited to 'usr.bin/dc')
-rw-r--r-- | usr.bin/dc/dc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/dc/dc.c b/usr.bin/dc/dc.c index d5edadb..546b247 100644 --- a/usr.bin/dc/dc.c +++ b/usr.bin/dc/dc.c @@ -84,7 +84,7 @@ main(int argc, char *argv[]) bool extended_regs = false, preproc_done = false; /* accept and ignore a single dash to be 4.4BSD dc(1) compatible */ - while ((ch = getopt_long(argc, argv, "e:f:Vx", long_options, NULL)) != -1) { + while ((ch = getopt_long(argc, argv, "e:f:hVx", long_options, NULL)) != -1) { switch (ch) { case 'e': if (!preproc_done) |