Skip to content

Commit 459e071

Browse files
looser flag description
1 parent 45b95a3 commit 459e071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/thor/parser/arguments.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def unshift(arg)
8282
end
8383

8484
def current_is_value?
85-
peek && peek.to_s !~ /^-/
85+
peek && peek.to_s !~ /^-{1,2}\S+/
8686
end
8787

8888
# Runs through the argument array getting strings that contains ":" and

0 commit comments

Comments
 (0)