summaryrefslogtreecommitdiffstats
path: root/usr.bin/bc/bc.y
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2010-01-22 23:35:06 +0000
committerdelphij <delphij@FreeBSD.org>2010-01-22 23:35:06 +0000
commit737c980d8c4ca05ce793a19b3ea15819f83ce83e (patch)
tree57967fc6e94764e54934f7dc4c451b91e5591f8b /usr.bin/bc/bc.y
parent648854da4d73ee19e941de36522c00626473f2b5 (diff)
downloadFreeBSD-src-737c980d8c4ca05ce793a19b3ea15819f83ce83e.zip
FreeBSD-src-737c980d8c4ca05ce793a19b3ea15819f83ce83e.tar.gz
- Remove --debug option and intentionally undocument -d, which is only
kept for compatibility with 4.4BSD behavior. - Sync SYNOPSIS with usage(). - Use an alternative way to represent short and long options which have same semantics. Reviewed by: gabor
Diffstat (limited to 'usr.bin/bc/bc.y')
-rw-r--r--usr.bin/bc/bc.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/bc/bc.y b/usr.bin/bc/bc.y
index 6492168..e6393b9 100644
--- a/usr.bin/bc/bc.y
+++ b/usr.bin/bc/bc.y
@@ -129,7 +129,6 @@ extern char *__progname;
const struct option long_options[] =
{
- {"debug", no_argument, NULL, 'd'},
{"expression", required_argument, NULL, 'e'},
{"help", no_argument, NULL, 'h'},
{"mathlib", no_argument, NULL, 'l'},
@@ -1014,7 +1013,7 @@ init(void)
static void
usage(void)
{
- fprintf(stderr, "usage: %s [-cdhlqv] [-e expression] [file ...]\n",
+ fprintf(stderr, "usage: %s [-chlqv] [-e expression] [file ...]\n",
__progname);
exit(1);
}
OpenPOWER on IntegriCloud