Changeset b918031 for molecuilder/src/Actions/CmdAction/HelpAction.cpp
- Timestamp:
- May 9, 2010, 11:59:35 AM (16 years ago)
- Children:
- e62daa
- Parents:
- c93262
- git-author:
- Frederik Heber <heber@…> (05/09/10 11:15:17)
- git-committer:
- Frederik Heber <heber@…> (05/09/10 11:59:35)
- File:
-
- 1 edited
-
molecuilder/src/Actions/CmdAction/HelpAction.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Actions/CmdAction/HelpAction.cpp
rc93262 rb918031 27 27 28 28 Action::state_ptr CommandLineHelpAction::performCall() { 29 ostringstream usage; 29 30 Dialog *dialog = UIFactory::getInstance().makeDialog(); 30 31 31 cout << CommandLineParser::getInstance().visible << endl; 32 usage << CommandLineParser::getInstance().visible << endl; 33 dialog->queryEmpty(NAME, usage.str()); 32 34 33 delete dialog; 34 return Action::failure; 35 if(dialog->display()) { 36 delete dialog; 37 return Action::success; 38 } else { 39 delete dialog; 40 return Action::failure; 41 } 35 42 } 36 43
Note:
See TracChangeset
for help on using the changeset viewer.
