diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-08 18:59:07 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-08 18:59:07 +0100 |
commit | d0bc5fdfea72ffac3102c76760f3e55a40a430ea (patch) | |
tree | 9052c70dedfdd78d1835f16d12a393b98a40ce7c /miscutils/bc.c | |
parent | 23427a63fc8f7742210d329b9edd77a6e547d2cd (diff) | |
download | busybox-w32-d0bc5fdfea72ffac3102c76760f3e55a40a430ea.tar.gz busybox-w32-d0bc5fdfea72ffac3102c76760f3e55a40a430ea.tar.bz2 busybox-w32-d0bc5fdfea72ffac3102c76760f3e55a40a430ea.zip |
dc: fix "small dc" to have standard command line API
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/bc.c')
-rw-r--r-- | miscutils/bc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c index 24e4b6392..e543b2b93 100644 --- a/miscutils/bc.c +++ b/miscutils/bc.c | |||
@@ -159,8 +159,7 @@ | |||
159 | //usage: | 159 | //usage: |
160 | //usage:#define dc_full_usage "\n" | 160 | //usage:#define dc_full_usage "\n" |
161 | //usage: "\nTiny RPN calculator. Operations:" | 161 | //usage: "\nTiny RPN calculator. Operations:" |
162 | //usage: "\n+, -, *, /, %, ^, exp, ~, divmod, |, " | 162 | //usage: "\n+, -, *, /, %, ~, ^, |," |
163 | //usage: "modular exponentiation," | ||
164 | //usage: "\np - print top of the stack (without popping)" | 163 | //usage: "\np - print top of the stack (without popping)" |
165 | //usage: "\nf - print entire stack" | 164 | //usage: "\nf - print entire stack" |
166 | //usage: "\nk - pop the value and set the precision" | 165 | //usage: "\nk - pop the value and set the precision" |