diff options
| author | Richard M. Stallman | 1996-09-10 02:00:27 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-10 02:00:27 +0000 |
| commit | 749ae7700e52dceac494785072ba9a199c2d1bc7 (patch) | |
| tree | c73da0e493e817880e9bdbb4b3e6d03a7ba83fa5 /lib-src | |
| parent | e54d89f459aecb976fcd46e816ac7b48ed05b171 (diff) | |
| download | emacs-749ae7700e52dceac494785072ba9a199c2d1bc7.tar.gz emacs-749ae7700e52dceac494785072ba9a199c2d1bc7.zip | |
(longopts): Change nowait to no-wait.
(print_help_and_exit): Fix option name; upcase metavars.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsclient.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 (); | |||
| 44 | /* Name used to invoke this program. */ | 44 | /* Name used to invoke this program. */ |
| 45 | char *progname; | 45 | char *progname; |
| 46 | 46 | ||
| 47 | /* Nonzero means don't wait for a response from Emacs. --nowait. */ | 47 | /* Nonzero means don't wait for a response from Emacs. --no-wait. */ |
| 48 | int nowait = 0; | 48 | int nowait = 0; |
| 49 | 49 | ||
| 50 | struct option longopts[] = | 50 | struct option longopts[] = |
| 51 | { | 51 | { |
| 52 | { "nowait", no_argument, NULL, 'n' }, | 52 | { "no-wait", no_argument, NULL, 'n' }, |
| 53 | { "help", no_argument, NULL, 'H' }, | 53 | { "help", no_argument, NULL, 'H' }, |
| 54 | { "version", no_argument, NULL, 'V' }, | 54 | { "version", no_argument, NULL, 'V' }, |
| 55 | { 0 } | 55 | { 0 } |
| @@ -97,7 +97,7 @@ decode_options (argc, argv) | |||
| 97 | print_help_and_exit () | 97 | print_help_and_exit () |
| 98 | { | 98 | { |
| 99 | fprintf (stderr, | 99 | fprintf (stderr, |
| 100 | "Usage: %s [-n] [--nowait] [+linenumber] filename\n", | 100 | "Usage: %s [-n] [--no-wait] [+LINENUMBER] FILENAME\n", |
| 101 | progname); | 101 | progname); |
| 102 | fprintf (stderr, | 102 | fprintf (stderr, |
| 103 | "Report bugs to bug-gnu-emacs@prep.ai.mit.edu.\n"); | 103 | "Report bugs to bug-gnu-emacs@prep.ai.mit.edu.\n"); |