summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-10 02:00:27 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-10 02:00:27 +0000
commitfcc8ef055aa598f549e7f022a2f92d6fa4dc13ec (patch)
tree2e83386f8321db37f17a4813de4596466d814ff8
parent326a4e43358e9aeeddd4369cb7a249164117e066 (diff)
downloademacs-fcc8ef055aa598f549e7f022a2f92d6fa4dc13ec.tar.gz
(longopts): Change nowait to no-wait.
(print_help_and_exit): Fix option name; upcase metavars.
-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 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");