diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-29 04:06:07 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-29 04:06:07 +0200 |
commit | 506d3a9bcaf760bd3f4251421c3932200fb480d8 (patch) | |
tree | 8f32648dc9b26a26c2aa143576f08d3872b39c98 | |
parent | 7a07b0ee6a99a98ec1f144d5d06043fa0c03f451 (diff) | |
download | busybox-w32-506d3a9bcaf760bd3f4251421c3932200fb480d8.tar.gz busybox-w32-506d3a9bcaf760bd3f4251421c3932200fb480d8.tar.bz2 busybox-w32-506d3a9bcaf760bd3f4251421c3932200fb480d8.zip |
dc: tweak help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | miscutils/dc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c index ebf357281..767d746e0 100644 --- a/miscutils/dc.c +++ b/miscutils/dc.c | |||
@@ -7,15 +7,15 @@ | |||
7 | #include <math.h> | 7 | #include <math.h> |
8 | 8 | ||
9 | //usage:#define dc_trivial_usage | 9 | //usage:#define dc_trivial_usage |
10 | //usage: "expression..." | 10 | //usage: "EXPRESSION..." |
11 | //usage: | 11 | //usage: |
12 | //usage:#define dc_full_usage "\n\n" | 12 | //usage:#define dc_full_usage "\n\n" |
13 | //usage: "Tiny RPN calculator. Operations:\n" | 13 | //usage: "Tiny RPN calculator. Operations:\n" |
14 | //usage: "+, add, -, sub, *, mul, /, div, %, mod, **, exp, and, or, not, eor,\n" | 14 | //usage: "+, add, -, sub, *, mul, /, div, %, mod, **, exp, and, or, not, eor,\n" |
15 | //usage: "p - print top of the stack (without popping),\n" | 15 | //usage: "p - print top of the stack (without popping),\n" |
16 | //usage: "f - print entire stack, o - pop the value and set output radix\n" | 16 | //usage: "f - print entire stack,\n" |
17 | //usage: "(value must be 10, 16, 8 or 2).\n" | 17 | //usage: "o - pop the value and set output radix (must be 10, 16, 8 or 2).\n" |
18 | //usage: "Examples: 'dc 2 2 add' -> 4, 'dc 8 8 * 2 2 + /' -> 16\n" | 18 | //usage: "Examples: 'dc 2 2 add' -> 4, 'dc 8 8 * 2 2 + /' -> 16" |
19 | //usage: | 19 | //usage: |
20 | //usage:#define dc_example_usage | 20 | //usage:#define dc_example_usage |
21 | //usage: "$ dc 2 2 + p\n" | 21 | //usage: "$ dc 2 2 + p\n" |