]> granicus.if.org Git - file/commitdiff
correct exclude issues from Randy McMurchy <randy@linuxfromscratch.org>
authorChristos Zoulas <christos@zoulas.com>
Thu, 9 Oct 2008 17:19:11 +0000 (17:19 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 9 Oct 2008 17:19:11 +0000 (17:19 +0000)
doc/file.man
src/file.c

index 197700f69ad2bfcc5a756e49c5b9e5f9686116d5..efabc7276861bbb032a837f262e6fd2f580c434e 100644 (file)
@@ -1,4 +1,4 @@
-.\" $File: file.man,v 1.73 2008/02/19 17:58:00 rrt Exp $
+.\" $File: file.man,v 1.74 2008/10/09 17:19:11 christos Exp $
 .Dd February 19, 2008
 .Dt FILE __CSECTION__
 .Os
@@ -192,7 +192,7 @@ Don't look for fortran sequences inside ascii files.
 Don't consult magic files.
 .It tar
 Don't examine tar files.
-.It token
+.It tokens
 Don't look for known tokens inside ascii files.
 .It troff
 Don't look for troff sequences inside ascii files.
index cebdaafa6d40780b4d4767f956739e1d1934bd9a..91081a0b556da813cf3a9c7ff06f5c06853dc704 100644 (file)
@@ -74,7 +74,7 @@ int getopt_long(int argc, char * const *argv, const char *optstring, const struc
 #include "patchlevel.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$File: file.c,v 1.122 2008/10/01 14:30:45 christos Exp $")
+FILE_RCSID("@(#)$File: file.c,v 1.123 2008/10/09 17:19:12 christos Exp $")
 #endif /* lint */
 
 
@@ -148,9 +148,11 @@ main(int argc, char *argv[])
                { "ascii",      MAGIC_NO_CHECK_ASCII },
                { "compress",   MAGIC_NO_CHECK_COMPRESS },
                { "elf",        MAGIC_NO_CHECK_ELF },
+               { "fortran",    MAGIC_NO_CHECK_FORTRAN },
                { "soft",       MAGIC_NO_CHECK_SOFT },
                { "tar",        MAGIC_NO_CHECK_TAR },
                { "tokens",     MAGIC_NO_CHECK_TOKENS },
+               { "troff",      MAGIC_NO_CHECK_TROFF },
        };
 
        /* makes islower etc work for other langs */