cleanup help and usage

This commit is contained in:
trbs
2011-03-02 16:52:50 +01:00
committed by Greg Smith
parent cc0c516810
commit c6693340c1

View File

@@ -477,16 +477,15 @@ walLocationToBytes(char *wal_location)
void usage(void) void usage(void)
{ {
log_err(_("\n\n%s: Replicator manager daemon \n"), progname); log_err(_("%s: Replicator manager daemon \n"), progname);
log_err(_("Try \"%s --help\" for more information.\n"), progname); log_err(_("Try \"%s --help\" for more information.\n"), progname);
} }
void help(const char *progname) void help(const char *progname)
{ {
printf(_("\n%s: Replicator manager daemon \n"), progname); printf(_("Usage: %s [OPTIONS]\n"), progname);
printf(_("Usage:\n")); printf(_("Replicator manager daemon for PostgreSQL.\n"));
printf(_(" %s [OPTIONS]\n"), progname);
printf(_("\nOptions:\n")); printf(_("\nOptions:\n"));
printf(_(" --help show this help, then exit\n")); printf(_(" --help show this help, then exit\n"));
printf(_(" --version output version information, then exit\n")); printf(_(" --version output version information, then exit\n"));