diff options
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc index 3da300e..ce93186 100644 --- a/src/main.cc +++ b/src/main.cc | |||
@@ -63,6 +63,9 @@ using namespace std; | |||
63 | void showInfo(ostream &ostr) { | 63 | void showInfo(ostream &ostr) { |
64 | _FB_USES_NLS; | 64 | _FB_USES_NLS; |
65 | ostr<<_FBTEXT(Common, FluxboxVersion, "Fluxbox version", "Fluxbox version heading")<<": "<<__fluxbox_version<<endl; | 65 | ostr<<_FBTEXT(Common, FluxboxVersion, "Fluxbox version", "Fluxbox version heading")<<": "<<__fluxbox_version<<endl; |
66 | |||
67 | if (strlen(svnversion()) > 0) | ||
68 | ostr<<"SVN Revision: "<<svnversion()<<endl; | ||
66 | #if defined(__DATE__) && defined(__TIME__) | 69 | #if defined(__DATE__) && defined(__TIME__) |
67 | ostr<<_FBTEXT(Common, Compiled, "Compiled", "Time fluxbox was compiled")<<": "<<__DATE__<<" "<<__TIME__<<endl; | 70 | ostr<<_FBTEXT(Common, Compiled, "Compiled", "Time fluxbox was compiled")<<": "<<__DATE__<<" "<<__TIME__<<endl; |
68 | #endif | 71 | #endif |
@@ -221,7 +224,7 @@ int main(int argc, char **argv) { | |||
221 | "\t-help\t\t\t\tdisplay this help text and exit.\n\n", | 224 | "\t-help\t\t\t\tdisplay this help text and exit.\n\n", |
222 | 225 | ||
223 | "Main usage string. Please lay it out nicely. There is one %s that is given the version"), | 226 | "Main usage string. Please lay it out nicely. There is one %s that is given the version"), |
224 | __fluxbox_version, "2001-2004"); | 227 | __fluxbox_version, "2001-2005"); |
225 | exit(0); | 228 | exit(0); |
226 | } else if (strcmp(argv[i], "-info") == 0 || strcmp(argv[i], "-i") == 0) { | 229 | } else if (strcmp(argv[i], "-info") == 0 || strcmp(argv[i], "-i") == 0) { |
227 | showInfo(cout); | 230 | showInfo(cout); |