diff options
author | Roland McGrath <roland@gnu.org> | 1993-05-13 03:00:51 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1993-05-13 03:00:51 +0000 |
commit | 0e5ad25f6b4abb57a379bd309beeda8371bf41f9 (patch) | |
tree | de03d300d855c9632ba20b594d59fc0f1d0cc53f /lib-src | |
parent | 8b4cc189e3b36911197d3dcfaa5ec5d727f2fe03 (diff) | |
download | emacs-0e5ad25f6b4abb57a379bd309beeda8371bf41f9.tar.gz |
(main): Don't require that there be input files if -i switches were given.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/etags.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index 95e23589393..e3584f8dcea 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -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); } |