[CommandLine] Aliases require an value if their target requires a value.
authorJordan Rose <jordan_rose@apple.com>
Wed, 29 Jan 2014 18:54:17 +0000 (18:54 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 29 Jan 2014 18:54:17 +0000 (18:54 +0000)
commitc2d631000d6018e8cd1734544d6c9980c6da5222
tree2c0e4f5b571fca92adf68d051c94976bec915443
parentb492843e53dbc86a34bbddc4c8155f3d23e21185
[CommandLine] Aliases require an value if their target requires a value.

This can still be overridden by explicitly setting a value requirement on the
alias option, but by default it should be the same.

PR18649

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200407 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/CommandLine.h
lib/Support/CommandLine.cpp
unittests/Support/CommandLineTest.cpp