@@ -1914,11 +1914,10 @@ do_help(void)
19141914
19151915printf (_ ("\nCommon options:\n" ));
19161916printf (_ (" -D, --pgdata=DATADIR location of the database storage area\n" ));
1917- printf (_ (" -s, --silent only print errors, no informational messages\n" ));
19181917#if defined(WIN32 )|| defined(__CYGWIN__ )
1919- printf (_ (" -e SOURCE event source to use for logging when running\n"
1920- " as a service\n" ));
1918+ printf (_ (" -e SOURCE event source for logging when running as a service\n" ));
19211919#endif
1920+ printf (_ (" -s, --silent only print errors, no informational messages\n" ));
19221921printf (_ (" -t, --timeout=SECS seconds to wait when using -w option\n" ));
19231922printf (_ (" -V, --version output version information, then exit\n" ));
19241923printf (_ (" -w wait until operation completes\n" ));
@@ -2203,15 +2202,15 @@ main(int argc, char **argv)
22032202pgdata_opt = psprintf ("-D \"%s\" " ,pgdata_D );
22042203break ;
22052204}
2205+ case 'e' :
2206+ event_source = pg_strdup (optarg );
2207+ break ;
22062208case 'l' :
22072209log_file = pg_strdup (optarg );
22082210break ;
22092211case 'm' :
22102212set_mode (optarg );
22112213break ;
2212- case 'e' :
2213- event_source = pg_strdup (optarg );
2214- break ;
22152214case 'N' :
22162215register_servicename = pg_strdup (optarg );
22172216break ;