aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRoland McGrath1993-05-13 03:00:51 +0000
committerRoland McGrath1993-05-13 03:00:51 +0000
commit0e5ad25f6b4abb57a379bd309beeda8371bf41f9 (patch)
treede03d300d855c9632ba20b594d59fc0f1d0cc53f /lib-src
parent8b4cc189e3b36911197d3dcfaa5ec5d727f2fe03 (diff)
downloademacs-0e5ad25f6b4abb57a379bd309beeda8371bf41f9.tar.gz
emacs-0e5ad25f6b4abb57a379bd309beeda8371bf41f9.zip
(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.c4
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)
658 } 658 }
659 } 659 }
660 660
661 if (optind == argc) 661 if (optind == argc && nincluded_files == 0)
662 { 662 {
663 fprintf (stderr, "%s: No input files specified.\n", progname); 663 fprintf (stderr, "%s: No input files specified.\n", progname);
664 664
665 usage: 665 usage:
666 fprintf (stderr, "%s: Try '%s --help' for a complete list of options.\n", 666 fprintf (stderr, "%s: Try `%s --help' for a complete list of options.\n",
667 progname, progname); 667 progname, progname);
668 exit (BAD); 668 exit (BAD);
669 } 669 }