rewrite help message
authorLaurent Mazet <mazet@softndesign.org>
Fri, 3 Feb 2023 22:45:09 +0000 (23:45 +0100)
committerLaurent Mazet <mazet@softndesign.org>
Fri, 3 Feb 2023 22:45:09 +0000 (23:45 +0100)
parser.c

index e20427cb0135215912ae9498ee4a5bb8e7f0c18d..f88da5d28a7cde05bf79f1526d439e785ec3206a 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -957,27 +957,27 @@ void del (int id)
 void help (void)
 {
     fprintf (stdout, "calc is a simple calculator\n\n");
-    fprintf (stdout, "supported operators:");
+    fprintf (stdout, "arithmetic op.:");
     fprintf (stdout, " + - * / %% ^\n");
-    fprintf (stdout, "camparison operators:");
+    fprintf (stdout, "comparison op.:");
     fprintf (stdout, " == != >= <= > <\n");
-    fprintf (stdout, "logical operators:");
+    fprintf (stdout, "logical op.:");
     fprintf (stdout, " & | !\n");
-    fprintf (stdout, "mathematic functions:");
+    fprintf (stdout, "mathematic func.:");
     fprintf (stdout, " exp ln log pow sqrt\n");
-    fprintf (stdout, "trig. func.:");
+    fprintf (stdout, "trigonometric func.:");
     fprintf (stdout, " acos asin atan cos sin tan\n");
-    fprintf (stdout, "supported functions:");
+    fprintf (stdout, "miscellaneous func.:");
     fprintf (stdout, " abs ceil floor\n");
-    fprintf (stdout, "stor. functions:");
+    fprintf (stdout, "storage func.:");
     fprintf (stdout, " clear dec disp inc mem rcl sto\n");
-    fprintf (stdout, "cond. functions:");
+    fprintf (stdout, "control flow prim.:");
     fprintf (stdout, " cond print while {} ;\n");
-    fprintf (stdout, "prog. functions:");
+    fprintf (stdout, "program management:");
     fprintf (stdout, " call del edit ls prog\n");
-    fprintf (stdout, "misc. functions:");
+    fprintf (stdout, "control management:");
     fprintf (stdout, " help quit\n");
-    fprintf (stdout, "supported constants:");
+    fprintf (stdout, "constants:");
     fprintf (stdout, " ans e pi\n");
 }