changeset 16146:a649abfefbb1

(longopts): Change nowait to no-wait. (print_help_and_exit): Fix option name; upcase metavars.
author Richard M. Stallman <rms@gnu.org>
date Tue, 10 Sep 1996 02:00:27 +0000
parents 4f3df9697fe0
children 15cb7a0da3e0
files lib-src/emacsclient.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/emacsclient.c	Mon Sep 09 23:56:36 1996 +0000
+++ b/lib-src/emacsclient.c	Tue Sep 10 02:00:27 1996 +0000
@@ -44,12 +44,12 @@
 /* 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 @@
 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");