]> git.donarmstrong.com Git - mothur.git/blob - nocommands.cpp
updated project file
[mothur.git] / nocommands.cpp
1 /*
2  *  nocommand.cpp
3  *  Dotur
4  *
5  *  Created by Sarah Westcott on 1/2/09.
6  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
7  *
8  */
9
10 #include "nocommands.h"
11
12 //**********************************************************************************************************************
13
14 NoCommand::NoCommand(string option)  {}
15
16 //**********************************************************************************************************************
17
18 int NoCommand::execute(){
19         //Could choose to give more help here?fdsah
20         cout << "Invalid command.\n";
21    
22         CommandFactory* valid =  CommandFactory::getInstance();
23         valid->printCommands(cout);
24         
25         return 0;
26 }
27
28 //**********************************************************************************************************************