diff options
author | yetist <[email protected]> | 2018-11-13 22:38:00 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-11-18 09:46:57 +0100 |
commit | 7df5759ff520c502314205bc2887f6467058fbfc (patch) | |
tree | efb7ba4a387e3b44ad1ab95b76b9de1846d2dbfa | |
parent | f96eb6b4f4501e99a1e289c08ecd618d435d8a78 (diff) | |
download | mate-session-manager-7df5759ff520c502314205bc2887f6467058fbfc.tar.bz2 mate-session-manager-7df5759ff520c502314205bc2887f6467058fbfc.tar.xz |
Only show application name when run with --version
Run with --version, only show the application name and version, not show
the path of program.
-rw-r--r-- | mate-session/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-session/main.c b/mate-session/main.c index 161772d..cb1cbe7 100644 --- a/mate-session/main.c +++ b/mate-session/main.c @@ -616,7 +616,7 @@ int main(int argc, char** argv) if (show_version) { - g_print("%s %s\n", argv [0], VERSION); + g_print("%s %s\n", g_get_application_name(), VERSION); exit(1); } |