Skip to content
Permalink
Browse files

Only show application name when run with --version

Run with --version, only show the application name and version, not show
the path of program.
  • Loading branch information...
yetist authored and raveit65 committed Nov 13, 2018
1 parent f96eb6b commit 7df5759ff520c502314205bc2887f6467058fbfc
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);
}

0 comments on commit 7df5759

Please sign in to comment.
You can’t perform that action at this time.