Changeset 1411 for branches/0.4-stable/yat
- Timestamp:
- Aug 15, 2008, 7:57:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4-stable/yat/utility/CommandLine.h
r1396 r1411 62 62 } 63 63 catch (cmd_error& e){ 64 if (version.present()){ 65 std::cout << cmd.program_name() << " 1.0\n" 66 << "Copyright (C) 2007 Peter Johansson\n\n" 67 << "This is free software see the source for copying " 68 << "conditions. There is NO\nwarranty; not even for " 69 << "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"; 70 exit(0); 71 } 64 72 std::cout << e.what() << std::endl; 65 73 return 1; 66 74 } 67 if (version.present()){68 std::cout << cmd.program_name() << " 1.0\n"69 << "Copyright (C) 2007 Peter Johansson\n\n"70 << "This is free software see the source for copying "71 << "conditions. There is NO\nwarranty; not even for "72 << "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n";73 exit(0);74 }75 75 ... 76 76 \endcode
Note: See TracChangeset
for help on using the changeset viewer.