summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2010-07-29 04:06:07 +0200
committerDenys Vlasenko2010-07-29 04:06:07 +0200
commit506d3a9bcaf760bd3f4251421c3932200fb480d8 (patch)
tree8f32648dc9b26a26c2aa143576f08d3872b39c98
parent7a07b0ee6a99a98ec1f144d5d06043fa0c03f451 (diff)
downloadbusybox-506d3a9bcaf760bd3f4251421c3932200fb480d8.zip
busybox-506d3a9bcaf760bd3f4251421c3932200fb480d8.tar.gz
dc: tweak help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--miscutils/dc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c
index ebf3572..767d746 100644
--- a/miscutils/dc.c
+++ b/miscutils/dc.c
@@ -7,15 +7,15 @@
#include <math.h>
//usage:#define dc_trivial_usage
-//usage: "expression..."
+//usage: "EXPRESSION..."
//usage:
//usage:#define dc_full_usage "\n\n"
//usage: "Tiny RPN calculator. Operations:\n"
//usage: "+, add, -, sub, *, mul, /, div, %, mod, **, exp, and, or, not, eor,\n"
//usage: "p - print top of the stack (without popping),\n"
-//usage: "f - print entire stack, o - pop the value and set output radix\n"
-//usage: "(value must be 10, 16, 8 or 2).\n"
-//usage: "Examples: 'dc 2 2 add' -> 4, 'dc 8 8 * 2 2 + /' -> 16\n"
+//usage: "f - print entire stack,\n"
+//usage: "o - pop the value and set output radix (must be 10, 16, 8 or 2).\n"
+//usage: "Examples: 'dc 2 2 add' -> 4, 'dc 8 8 * 2 2 + /' -> 16"
//usage:
//usage:#define dc_example_usage
//usage: "$ dc 2 2 + p\n"