bc: tweak help text
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 2 Dec 2018 19:34:03 +0000 (20:34 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 5 Dec 2018 14:43:35 +0000 (15:43 +0100)
-v is supported but not shown

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c

index 78c64355b56f1ee86c454b6ee9b8107cbdb27384..4257511f0aabbffc556f6e71b4fe15ff8742a085 100644 (file)
 //kbuild:lib-$(CONFIG_BC) += bc.o
 //kbuild:lib-$(CONFIG_DC) += bc.o
 
+//See www.gnu.org/software/bc/manual/bc.html
 //usage:#define bc_trivial_usage
-//usage:       "EXPRESSION...\n"
-//usage:       "function_definition\n"
+//usage:       "[-sqli] FILE..."
 //usage:
-//usage:#define bc_full_usage "\n\n"
-//usage:       "See www.gnu.org/software/bc/manual/bc.html\n"
+//usage:#define bc_full_usage "\n"
+//usage:     "\nArbitrary precision calculator"
+//usage:     "\n"
+//usage:     "\n       -i      Interactive"
+//usage:     "\n       -l      Load standard math library"
+//usage:     "\n       -s      Be POSIX compatible"
+//usage:     "\n       -q      Quiet"
+//usage:     "\n       -w      Warn if extensions are used"
+///////:     "\n       -v      Version"
 //usage:
 //usage:#define bc_example_usage
 //usage:       "3 + 4.129\n"