change flag -s to -i
authorceriel <none@none>
Wed, 6 Jun 1990 16:00:28 +0000 (16:00 +0000)
committerceriel <none@none>
Wed, 6 Jun 1990 16:00:28 +0000 (16:00 +0000)
lang/cem/cemcom/cemcom.1
lang/cem/cemcom/main.c
lang/cem/cemcom/options
lang/cem/cemcom/options.c

index 12bbffc..571a31d 100644 (file)
@@ -43,16 +43,16 @@ and at each return to call the routine
 .BE procexit .
 These routines are supplied with one parameter, a pointer to a
 string containing the name of the procedure.
-.IP -\fBA\fR[\fIfile\fR]
+.IP \fB\-A\fR[\fIfile\fR]
 .br
 if \fIfile\fR is not given, generate a list
 of makefile dependencies and write them to the standard output.
 If \fIfile\fP is given,
 generate the list of makefile dependencies on file \fIfile\fP.
-.IP -\fBs\fR
+.IP \fB\-i\fR
 when generating makefile dependencies, do not include files from
 /usr/include.
-.IP -\fBm\fR
+.IP \fB\-m\fR
 when generating makefile dependencies, generate them in the following format:
 .RS
 .IP "file.o: file1.h"
index 6202568..eef89f8 100644 (file)
@@ -192,7 +192,7 @@ char *s;
 dependency(s, source)
 char *s, *source;
 {
-    if (options['s'] && !strncmp(s, "/usr/include/", 13)) {
+    if (options['i'] && !strncmp(s, "/usr/include/", 13)) {
        return;
     }
     if (options['m'] && source) {
index 3f0ab95..b14bdc6 100644 (file)
@@ -4,6 +4,7 @@ C       while running preprocessor, copy comment
 d      perform a small dataflow analysis
 D      see identifier following as a macro
 E      run preprocessor only
+i      suppress /usr/include include files in dependency list
 I      expand include table with directory name following
 m      generate file.o: file1.h format dependency lines
 M      set identifier length
@@ -12,7 +13,6 @@ L     don't generate linenumbers and filename indications
 p      trace
 P      in running the preprocessor do not output '# line' lines
 R      restricted C
-s      suppress /usr/include include files in dependency list
 T      take path following as directory for storing temporary file(s)
 U      undefine predefined name
 V      set objectsize and alignment requirements
index 5703269..270ad0c 100644 (file)
@@ -96,7 +96,7 @@ next_option:                  /* to allow combined one-char options */
                        dep_file = text;
                }
                break;
-       case 's':
+       case 'i':
        case 'm':
                options[opt] = 1;
                break;