]> git.donarmstrong.com Git - mothur.git/blobdiff - nocommands.cpp
put back no command and worked on libshuff
[mothur.git] / nocommands.cpp
diff --git a/nocommands.cpp b/nocommands.cpp
new file mode 100644 (file)
index 0000000..974fce4
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ *  nocommand.cpp
+ *  Dotur
+ *
+ *  Created by Sarah Westcott on 1/2/09.
+ *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
+ *
+ */
+
+#include "nocommands.h"
+
+//**********************************************************************************************************************
+
+NoCommand::NoCommand(){}
+
+//**********************************************************************************************************************
+
+NoCommand::~NoCommand(){}
+
+//**********************************************************************************************************************
+
+int NoCommand::execute(){
+       //Could choose to give more help here?fdsah
+       cout << "Invalid command." << "\n";
+       cout << "For more information on command parameters use the help() command." << "\n";
+       return 0;
+}
+
+//**********************************************************************************************************************