From: Richard M. Stallman Date: Tue, 10 Sep 1996 02:00:27 +0000 (+0000) Subject: (longopts): Change nowait to no-wait. X-Git-Tag: emacs-20.1~3798 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=749ae7700e52dceac494785072ba9a199c2d1bc7;p=emacs.git (longopts): Change nowait to no-wait. (print_help_and_exit): Fix option name; upcase metavars. --- diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 4d8037dea67..b74cc26d162 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -44,12 +44,12 @@ int geteuid (); /* Name used to invoke this program. */ char *progname; -/* Nonzero means don't wait for a response from Emacs. --nowait. */ +/* Nonzero means don't wait for a response from Emacs. --no-wait. */ int nowait = 0; struct option longopts[] = { - { "nowait", no_argument, NULL, 'n' }, + { "no-wait", no_argument, NULL, 'n' }, { "help", no_argument, NULL, 'H' }, { "version", no_argument, NULL, 'V' }, { 0 } @@ -97,7 +97,7 @@ decode_options (argc, argv) print_help_and_exit () { fprintf (stderr, - "Usage: %s [-n] [--nowait] [+linenumber] filename\n", + "Usage: %s [-n] [--no-wait] [+LINENUMBER] FILENAME\n", progname); fprintf (stderr, "Report bugs to bug-gnu-emacs@prep.ai.mit.edu.\n");