Changeset 10629 for trunk/FACT++
- Timestamp:
- 05/09/11 20:12:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/fact.cc
r10518 r10629 1 1 #include "FactGui.h" 2 2 3 #include "src/FACT.h" 3 4 #include "src/Configuration.h" 4 5 … … 15 16 { 16 17 cout << "\n" 17 "The console connects to all available Dim Servers and allows to " 18 "easily access all of their commands.\n" 18 "The FACT++ Graphical User Interfact (GUI).\n" 19 19 "\n" 20 "Usage: test3 [-c type] [OPTIONS]\n" 21 " or: test3 [OPTIONS]\n" 22 "\n" 23 "Options:\n" 24 "The following describes the available commandline options. " 25 "For further details on how command line option are parsed " 26 "and in which order which configuration sources are accessed " 27 "please refer to the class reference of the Configuration class."; 20 "Usage: fact [-c type] [OPTIONS]\n" 21 " or: fact [OPTIONS]\n"; 28 22 cout << endl; 29 23 … … 32 26 void PrintHelp() 33 27 { 34 cout << "\n" 35 "The default is that the program is started without user interaction. " 36 "All actions are supposed to arrive as DimCommands. Using the -c " 37 "option, a local shell can be initialized. With h or help a short " 38 "help message about the usuage can be brought to the screen." 39 << endl; 40 41 /* 42 cout << "bla bla bla" << endl << endl; 43 cout << endl; 44 cout << "Environment:" << endl; 45 cout << "environment" << endl; 46 cout << endl; 47 cout << "Examples:" << endl; 48 cout << "test exam" << endl; 49 cout << endl; 50 cout << "Files:" << endl; 51 cout << "files" << endl; 52 cout << endl; 53 */ 28 /* Additional help text which is printed after the configuration 29 options goes here */ 54 30 } 55 56 /*57 The first line of the --version information is assumed to be in one58 of the following formats:59 60 <version>61 <program> <version>62 {GNU,Free} <program> <version>63 <program> ({GNU,Free} <package>) <version>64 <program> - {GNU,Free} <package> <version>65 66 and separated from any copyright/author details by a blank line.67 68 Handle multi-line bug reporting sections of the form:69 70 Report <program> bugs to <addr>71 GNU <package> home page: <url>72 ...73 */74 void PrintVersion(const char *name)75 {76 cout <<77 name << " - "PACKAGE_STRING"\n"78 "\n"79 "Written by Thomas Bretz et al.\n"80 "\n"81 "Report bugs to <"PACKAGE_BUGREPORT">\n"82 "Home page: "PACKAGE_URL"\n"83 "\n"84 "Copyright (C) 2011 by the FACT Collaboration.\n"85 "This is free software; see the source for copying conditions.\n"86 << endl;87 }88 89 31 90 32 void SetupConfiguration(Configuration &conf) … … 130 72 if (conf.HasVersion()) 131 73 { 132 PrintVersion(argv[0]);74 FACT::PrintVersion(argv[0]); 133 75 return -1; 134 76 }
Note:
See TracChangeset
for help on using the changeset viewer.