Commit 749ae770 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(longopts): Change nowait to no-wait.

(print_help_and_exit): Fix option name; upcase metavars.
parent e54d89f4
......@@ -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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment