From 5d68ef0eee95aeb1b44261ebbb2dafbe28d9c9d4 Mon Sep 17 00:00:00 2001 From: Sam Fredrickson Date: Thu, 11 Sep 2008 13:02:20 -0700 Subject: [PATCH] Updated the help module. I think I'll re-write this so that commands add their help info when added to the table. --- src/console/help.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/console/help.c b/src/console/help.c index f979677..824e4d3 100644 --- a/src/console/help.c +++ b/src/console/help.c @@ -56,11 +56,12 @@ static RPNCommandHelpItem operators_help[] = { static RPNCommandHelpItem commands_help[] = { {"dup", "Pushes topmost value to the stack."}, {"pop", "Removes the topmost value of the stack."}, - {"ps", "Prints the stack. Doesn't print anything if empty."}, - {"psd", "Prints the stack in detail. Doesn't print anything if empty."}, - {"psv", "Prints the variable table. Doesn't print anything if empty."}, - {"psvd", "Prints the variable table in detail. Doesn't print anything if " - "empty."}, + {"ph", "Prints the history stack."}, + {"phd", "Prints the history stack in detail."}, + {"ps", "Prints the stack."}, + {"psd", "Prints the stack in detail."}, + {"pv", "Prints the variable table."}, + {"pvd", "Prints the variable table in detail."}, {"x", "Exits the program."}, {NULL}, }; -- 2.11.4.GIT