Add comment to explain unclear code
This commit is contained in:
parent
fd9ad904fe
commit
f133f39bcc
|
@ -37,6 +37,8 @@ module Vagrant
|
||||||
end
|
end
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
# The `dup` is required in @argv because the OptionParser
|
||||||
|
# modifies it in place as it finds matching arguments.
|
||||||
parser.parse!(@argv.dup)
|
parser.parse!(@argv.dup)
|
||||||
rescue OptionParser::MissingArgument
|
rescue OptionParser::MissingArgument
|
||||||
# Missing argument means the argument existed but had no data,
|
# Missing argument means the argument existed but had no data,
|
||||||
|
|
Loading…
Reference in New Issue