From: ceriel Date: Wed, 6 Jun 1990 14:37:03 +0000 (+0000) Subject: Added -A option, like -d X-Git-Tag: release-5-5~1694 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=8d1bb88fc91da0ac1effbbafc7811adc41028ab5;p=ack.git Added -A option, like -d --- diff --git a/util/cpp/cpp.6 b/util/cpp/cpp.6 index 38b37178a..99e6508f6 100644 --- a/util/cpp/cpp.6 +++ b/util/cpp/cpp.6 @@ -47,6 +47,8 @@ if \fIfile\fR is not given, do not preprocess, but instead generate a list of makefile dependencies and write them to the standard output. If \fIfile\fP is given, generate preprocessor output on standard output, and generate the list of makefile dependencies on file \fIfile\fP. +.IP -\fBA\fR[\fIfile\fR] +identical to the -d option. .IP -\fBxs\fR when generating makefile dependencies, do not include files from /usr/include. diff --git a/util/cpp/options.c b/util/cpp/options.c index 429cad750..00e6e721a 100644 --- a/util/cpp/options.c +++ b/util/cpp/options.c @@ -44,6 +44,7 @@ do_option(text) case 'P' : /* run preprocessor stand-alone, without #'s */ options[*(text-1)] = 1; break; + case 'A' : /* for Amake */ case 'd' : /* dependency generation */ do_dependencies = 1; if (*text) {