aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-12-02 20:34:03 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-12-05 15:43:35 +0100
commit9721f6c8b0b5a22313fb546af5959d69ac6b59ef (patch)
treeee5e8695ad6e487cd387e578930a214b74734b2e
parenta0c421c118abde7636d4d2b9bee93ca78e656d30 (diff)
downloadbusybox-w32-9721f6c8b0b5a22313fb546af5959d69ac6b59ef.tar.gz
busybox-w32-9721f6c8b0b5a22313fb546af5959d69ac6b59ef.tar.bz2
busybox-w32-9721f6c8b0b5a22313fb546af5959d69ac6b59ef.zip
bc: tweak help text
-v is supported but not shown Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--miscutils/bc.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c
index 78c64355b..4257511f0 100644
--- a/miscutils/bc.c
+++ b/miscutils/bc.c
@@ -114,12 +114,19 @@
114//kbuild:lib-$(CONFIG_BC) += bc.o 114//kbuild:lib-$(CONFIG_BC) += bc.o
115//kbuild:lib-$(CONFIG_DC) += bc.o 115//kbuild:lib-$(CONFIG_DC) += bc.o
116 116
117//See www.gnu.org/software/bc/manual/bc.html
117//usage:#define bc_trivial_usage 118//usage:#define bc_trivial_usage
118//usage: "EXPRESSION...\n" 119//usage: "[-sqli] FILE..."
119//usage: "function_definition\n"
120//usage: 120//usage:
121//usage:#define bc_full_usage "\n\n" 121//usage:#define bc_full_usage "\n"
122//usage: "See www.gnu.org/software/bc/manual/bc.html\n" 122//usage: "\nArbitrary precision calculator"
123//usage: "\n"
124//usage: "\n -i Interactive"
125//usage: "\n -l Load standard math library"
126//usage: "\n -s Be POSIX compatible"
127//usage: "\n -q Quiet"
128//usage: "\n -w Warn if extensions are used"
129///////: "\n -v Version"
123//usage: 130//usage:
124//usage:#define bc_example_usage 131//usage:#define bc_example_usage
125//usage: "3 + 4.129\n" 132//usage: "3 + 4.129\n"