projects
/
p5sagit/local-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c3b42e9
)
allow specifying options as normal args in shell mode
Graham Knop [Mon, 6 Jan 2014 07:35:08 +0000 (
02:35
-0500)]
lib/local/lib.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/local/lib.pm
b/lib/local/lib.pm
index
3b8869a
..
a8fc12f
100644
(file)
--- a/
lib/local/lib.pm
+++ b/
lib/local/lib.pm
@@
-13,6
+13,8
@@
$VERSION = eval $VERSION;
sub import {
my ($class, @args) = @_;
+ push @args, @ARGV
+ if $0 eq '-';
my @steps;
my %opts;