mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(main): Don't require that there be input files if -i switches were given.
This commit is contained in:
parent
8b4cc189e3
commit
0e5ad25f6b
@ -658,12 +658,12 @@ main (argc, argv)
|
||||
}
|
||||
}
|
||||
|
||||
if (optind == argc)
|
||||
if (optind == argc && nincluded_files == 0)
|
||||
{
|
||||
fprintf (stderr, "%s: No input files specified.\n", progname);
|
||||
|
||||
usage:
|
||||
fprintf (stderr, "%s: Try '%s --help' for a complete list of options.\n",
|
||||
fprintf (stderr, "%s: Try `%s --help' for a complete list of options.\n",
|
||||
progname, progname);
|
||||
exit (BAD);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user