]> git.donarmstrong.com Git - mothur.git/blobdiff - helpcommand.cpp
removed validcommands and put its checking in commandfactory.
[mothur.git] / helpcommand.cpp
index 4a97342c27f801ea7bb959f0c411ace6f33393dc..93def59137b8ecadb3e45b26ff3fac35bc976405 100644 (file)
 //**********************************************************************************************************************
 
 HelpCommand::HelpCommand(string option){
+
+       
+       if (option != "") { cout << "There are no valid parameters for the help() command." << endl;  }
        
-       if (option != "") { cout << "There are no valid parameters for the help() command." << endl;  } 
-       validCommands = new ValidCommands();
+       validCommands = new CommandFactory();
 }
 
 //**********************************************************************************************************************