diff packages/redboot/current/src/main.c @ 1503:0ec4d1b9182f

Update help strings for 'go' command - from Andy Dyer
author gthomas
date Thu, 19 Feb 2004 10:37:12 +0000
parents 8b3549abe4ac
children c4355f101bf6
line wrap: on
line diff
--- a/packages/redboot/current/src/main.c
+++ b/packages/redboot/current/src/main.c
@@ -105,9 +105,16 @@ RedBoot_cmd("help",
             "[<topic>]",
             do_help 
     );
+
+static char go_usage[] = "[-w <timeout>] [-c] "
+#ifdef CYGPKG_IO_ETH_DRIVERS
+                      "[-n] "
+#endif
+                      "[entry]";
+
 RedBoot_cmd("go", 
             "Execute code at a location", 
-            "[-w <timeout>] [entry]",
+            go_usage,
             do_go 
     );
 #ifdef HAL_PLATFORM_RESET