lib/thor/options.rb in josevalim-thor-0.10.10 vs lib/thor/options.rb in josevalim-thor-0.10.11
- old
+ new
@@ -75,10 +75,10 @@
remove_duplicated_shortcuts!
end
def parse(args)
- @pile, @trailing = args, []
+ @pile, @trailing = args.dup, []
while peek
if current_is_switch?
case shift
when SHORT_SQ_RE