]> git.donarmstrong.com Git - mothur.git/blob - nocommands.cpp
created mothurOut class to handle logfiles
[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 NoCommand::~NoCommand(){}
19
20 //**********************************************************************************************************************
21
22 int NoCommand::execute(){
23         //Could choose to give more help here?fdsah
24         cout << "Invalid command.\n";
25         
26         CommandFactory* valid =  CommandFactory::getInstance();
27         valid->printCommands(cout);
28         
29         return 0;
30 }
31
32 //**********************************************************************************************************************