Commits

Alessio Caiazza committed bfcaff9

FIX: consistent help command

removed nodev because it isn't a command
added exit
just continue after printing the help messages

  • Participants
  • Parent commits f1788fe

Comments (0)

Files changed (1)

+// -*- mode: C; c-basic-offset: 8; c-tab-width: 8; indent-tabs-mode: nil; -*-
 #include "shell.h"
 
 
 
                 if (strncmp(argv[0], "help", 4) == 0) {
                         printf("Available commands: \n");
-                        printf("[discover|select|nodev|ip|vlan|port|sys] \n");
+                        printf("[discover|select|ip|vlan|port|sys|exit] \n");
+                        continue;
                 }
 
                 if (strncmp(argv[0], "discover", 8) == 0) {