Add comment to explain unclear code

This commit is contained in:
Mitchell Hashimoto 2012-06-01 16:08:41 +02:00
parent fd9ad904fe
commit f133f39bcc
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,8 @@ module Vagrant
end
begin
# The `dup` is required in @argv because the OptionParser
# modifies it in place as it finds matching arguments.
parser.parse!(@argv.dup)
rescue OptionParser::MissingArgument
# Missing argument means the argument existed but had no data,