aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-09-10 02:00:27 +0000
committerRichard M. Stallman <[email protected]>1996-09-10 02:00:27 +0000
commit749ae7700e52dceac494785072ba9a199c2d1bc7 (patch)
treec73da0e493e817880e9bdbb4b3e6d03a7ba83fa5 /lib-src
parente54d89f459aecb976fcd46e816ac7b48ed05b171 (diff)
(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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 4d8037dea6..b74cc26d16 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 [email protected].\n");