X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-tips;h=258c8c03877888ac3748c71641cd6c72bd1dcd3c;hb=691fd5b99dda8c70c8fd5443b4e0e57e29021008;hp=8ba4df63925624030369153c5b11f6200c305f48;hpb=2a798f2c3283509108bb0162d382989f6282096f;p=grml-tips.git diff --git a/grml-tips b/grml-tips index 8ba4df6..258c8c0 100755 --- a/grml-tips +++ b/grml-tips @@ -39,6 +39,10 @@ Print this help and exit. Match on tags only instead of the whole tip +=item B<--tipsfile TIPSFILE> + +Use TIPSFILE instead of /usr/share/grml-tips/grml_tips + =back =head1 EXAMPLES @@ -75,10 +79,12 @@ my $grml_tips = '/usr/share/grml-tips/grml_tips'; my $help; my $tagsonly; +my $tipsfile; my $result = GetOptions ( "help" => \$help, - "tagsonly" => \$tagsonly + "tagsonly" => \$tagsonly, + "tipsfile=s" => \$grml_tips, ); my $pattern = shift;