1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

Latest fixes for released 0.51.0

This commit is contained in:
dan
1999-01-29 08:11:17 +00:00
parent d694d6fe1c
commit 931a37b124
56 changed files with 2916 additions and 2383 deletions

View File

@@ -251,8 +251,10 @@ wAbort(Bool dumpCore)
void
print_help()
{
printf(_("usage: %s [options]\n"), ProgName);
puts(_("options:"));
printf(_("Usage: %s [options]\n"), ProgName);
puts(_("The Window Maker window manager for the X window system"));
puts("");
puts(_(" -display host:dpy display to use"));
#ifdef USECPP
puts(_(" --no-cpp disable preprocessing of configuration files"));
#endif
@@ -262,7 +264,6 @@ print_help()
puts(_(" --locale locale locale to use"));
*/
puts(_(" --visual-id visualid visual id of visual to use"));
puts(_(" -display host:dpy display to use"));
puts(_(" --static do not update or save configurations"));
puts(_(" --version print version and exit"));
puts(_(" --help show this message"));
@@ -410,8 +411,9 @@ main(int argc, char **argv)
}
#endif
} else {
print_help();
exit(0);
printf(_("%s: invalid argument '%s'"), argv[0]);
printf(_("Try '%s --help' for more information"), argv[0]);
exit(1);
}
}
}