allow specifying options as normal args in shell mode
[p5sagit/local-lib.git] / lib / local / lib.pm
index 3b8869a..a8fc12f 100644 (file)
@@ -13,6 +13,8 @@ $VERSION = eval $VERSION;
 
 sub import {
   my ($class, @args) = @_;
+  push @args, @ARGV
+    if $0 eq '-';
 
   my @steps;
   my %opts;