summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-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"