From ce2d5a69c573cd02b8b7003f403c2d0950054676 Mon Sep 17 00:00:00 2001 From: Andy Lester Date: Mon, 15 Nov 2010 22:45:08 -0600 Subject: [PATCH] Add .xml to the --xml list --- Ack.pm | 2 +- ack | 2 +- ack-help-types.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Ack.pm b/Ack.pm index ecc2098..5de2f7a 100644 --- a/Ack.pm +++ b/Ack.pm @@ -123,7 +123,7 @@ BEGIN { vhdl => [qw( vhd vhdl )], vim => [qw( vim )], yaml => [qw( yaml yml )], - xml => [qw( xml dtd xslt ent )], + xml => [qw( xml dtd xsl xslt ent )], ); while ( my ($type,$exts) = each %mappings ) { diff --git a/ack b/ack index 0928d34..a187730 100755 --- a/ack +++ b/ack @@ -1262,7 +1262,7 @@ BEGIN { vhdl => [qw( vhd vhdl )], vim => [qw( vim )], yaml => [qw( yaml yml )], - xml => [qw( xml dtd xslt ent )], + xml => [qw( xml dtd xsl xslt ent )], ); while ( my ($type,$exts) = each %mappings ) { diff --git a/ack-help-types.txt b/ack-help-types.txt index d6563bf..63cace2 100644 --- a/ack-help-types.txt +++ b/ack-help-types.txt @@ -57,5 +57,5 @@ Note that some extensions may appear in multiple types. For example, --[no]verilog .v .vh .sv --[no]vhdl .vhd .vhdl --[no]vim .vim - --[no]xml .xml .dtd .xslt .ent + --[no]xml .xml .dtd .xsl .xslt .ent --[no]yaml .yaml .yml