bin: only add "--" if there are extra args
This commit is contained in:
parent
b655b6d910
commit
29297e1a2f
|
@ -146,8 +146,10 @@ begin
|
||||||
opts[:ui_class] ||= Vagrant::UI::Colored
|
opts[:ui_class] ||= Vagrant::UI::Colored
|
||||||
|
|
||||||
# Recombine the arguments
|
# Recombine the arguments
|
||||||
|
if !argv_extra.empty?
|
||||||
argv << "--"
|
argv << "--"
|
||||||
argv += argv_extra
|
argv += argv_extra
|
||||||
|
end
|
||||||
|
|
||||||
# Create the environment, which is the cwd of wherever the
|
# Create the environment, which is the cwd of wherever the
|
||||||
# `vagrant` command was invoked from
|
# `vagrant` command was invoked from
|
||||||
|
|
Loading…
Reference in New Issue