diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -368,8 +368,12 @@ main(int argc, char **argv) } } - if (do_lint && os_is_setuid()) - lintwarn(_("running %s setuid root may be a security problem"), myname); + if (do_lint) { + if (os_is_setuid()) + lintwarn(_("running %s setuid root may be a security problem"), myname); + if (do_intervals) + lintwarn(_("The -r/--re-interval options no longer have any effect")); + } if (do_debug) /* Need to register the debugger pre-exec hook before any other */ init_debug(); @@ -637,7 +641,8 @@ usage(int exitval, FILE *fp) /* This is one string to make things easier on translators. */ /* TRANSLATORS: --help output (end) no-wrap */ - fputs(_("\nTo report bugs, see node `Bugs' in `gawk.info'\n\ + fputs(_("\nTo report bugs, use the `gawkbug' program.\n\ +For full instructions, see the node `Bugs' in `gawk.info'\n\ which is section `Reporting Problems and Bugs' in the\n\ printed version. This same information may be found at\n\ https://www.gnu.org/software/gawk/manual/html_node/Bugs.html.\n\ @@ -977,7 +982,6 @@ load_procinfo_argv() // hook it into PROCINFO sub = make_string("argv", 4); assoc_set(PROCINFO_node, sub, argv_array); - } /* load_procinfo --- populate the PROCINFO array */ @@ -1689,6 +1693,8 @@ parse_args(int argc, char **argv) break; case 'r': + // This no longer has any effect. It remains for the + // lint check in main(). do_flags |= DO_INTERVALS; break; |