]> git.sur5r.net Git - gsconf/blobdiff - shell.c
committing patch for more help text from Lars Lindholm (larlin)
[gsconf] / shell.c
diff --git a/shell.c b/shell.c
index da91eb96aee2873730b9a4893567e1666be89bfa..744db98d8b726fdf4f098daca0a221a427e6e39e 100644 (file)
--- a/shell.c
+++ b/shell.c
@@ -220,6 +220,10 @@ int shell (void) {
                         shell_sys(argv, elem);
                 }
                 
+                if (strncmp(argv[0], "help", 4) == 0) {
+                        printf("Available commands: \n");
+                        printf("[discover|select|nodev|ip|vlan|port|sys] \n");
+                }