Skip to content

Commit

Permalink
Only show application name when run with --version
Browse files Browse the repository at this point in the history
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 18, 2018
1 parent f96eb6b commit 7df5759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mate-session/main.c
Expand Up @@ -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);
}

Expand Down

0 comments on commit 7df5759

Please sign in to comment.