From 737c980d8c4ca05ce793a19b3ea15819f83ce83e Mon Sep 17 00:00:00 2001 From: delphij Date: Fri, 22 Jan 2010 23:35:06 +0000 Subject: - 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 --- usr.bin/bc/bc.y | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.bin/bc/bc.y') 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); } -- cgit v1.1