diff options
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/main.cc b/src/main.cc index bc1acef..be1114f 100644 --- a/src/main.cc +++ b/src/main.cc | |||
@@ -207,7 +207,7 @@ int main(int argc, char **argv) { | |||
207 | } | 207 | } |
208 | } else if (strcmp(argv[i], "-version") == 0 || strcmp(argv[i], "-v") == 0) { | 208 | } else if (strcmp(argv[i], "-version") == 0 || strcmp(argv[i], "-v") == 0) { |
209 | // print current version string | 209 | // print current version string |
210 | cout<<"Fluxbox "<<__fluxbox_version<<" : (c) 2001-2005 Henrik Kinnunen "<<endl<<endl; | 210 | cout << "Fluxbox " << __fluxbox_version << " : (c) 2001-2006 Henrik Kinnunen " << endl << endl; |
211 | exit(0); | 211 | exit(0); |
212 | } else if (strcmp(argv[i], "-log") == 0 ) { | 212 | } else if (strcmp(argv[i], "-log") == 0 ) { |
213 | if (i + 1 >= argc) { | 213 | if (i + 1 >= argc) { |
@@ -220,16 +220,16 @@ int main(int argc, char **argv) { | |||
220 | printf(_FBTEXT(main, Usage, | 220 | printf(_FBTEXT(main, Usage, |
221 | "Fluxbox %s : (c) %s Henrik Kinnunen\n" | 221 | "Fluxbox %s : (c) %s Henrik Kinnunen\n" |
222 | "Website: http://www.fluxbox.org/ \n\n" | 222 | "Website: http://www.fluxbox.org/ \n\n" |
223 | "\t-display <string>\t\tuse display connection.\n" | 223 | "-display <string>\t\tuse display connection.\n" |
224 | "\t-screen <all|int,int,int>\trun on specified screens only.\n" | 224 | "-screen <all|int,int,int>\trun on specified screens only.\n" |
225 | "\t-rc <string>\t\t\tuse alternate resource file.\n" | 225 | "-rc <string>\t\t\tuse alternate resource file.\n" |
226 | "\t-version\t\t\tdisplay version and exit.\n" | 226 | "-version\t\t\tdisplay version and exit.\n" |
227 | "\t-info\t\t\t\tdisplay some useful information.\n" | 227 | "-info\t\t\t\tdisplay some useful information.\n" |
228 | "\t-log <filename>\t\t\tlog output to file.\n" | 228 | "-log <filename>\t\t\tlog output to file.\n" |
229 | "\t-help\t\t\t\tdisplay this help text and exit.\n\n", | 229 | "-help\t\t\t\tdisplay this help text and exit.\n\n", |
230 | 230 | ||
231 | "Main usage string. Please lay it out nicely. There is one %s that is given the version"), | 231 | "Main usage string. Please lay it out nicely. There is one %s that is given the version"), |
232 | __fluxbox_version, "2001-2005"); | 232 | __fluxbox_version, "2001-2006"); |
233 | exit(0); | 233 | exit(0); |
234 | } else if (strcmp(argv[i], "-info") == 0 || strcmp(argv[i], "-i") == 0) { | 234 | } else if (strcmp(argv[i], "-info") == 0 || strcmp(argv[i], "-i") == 0) { |
235 | showInfo(cout); | 235 | showInfo(cout); |