# HG changeset patch # User Roland McGrath # Date 737262051 0 # Node ID 1c7b7ed1a12a8f740501b6be1feda5295c448cc8 # Parent ce6924085fc7de4d202177fed018a282dc7cdd87 (main): Don't require that there be input files if -i switches were given. diff -r ce6924085fc7 -r 1c7b7ed1a12a lib-src/etags.c --- a/lib-src/etags.c Thu May 13 01:47:22 1993 +0000 +++ b/lib-src/etags.c Thu May 13 03:00:51 1993 +0000 @@ -658,12 +658,12 @@ } } - 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); }