From: Nico Weber Date: Wed, 7 Jan 2015 22:40:55 +0000 (+0000) Subject: Add help text for mmacosx-version-min=, mios-version-min=. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09abcd4194f67fe7598cb79cab990d7385fb0f11;p=clang Add help text for mmacosx-version-min=, mios-version-min=. I keep forgetting the exact spelling of -macosx-version-min=, and now I can run `bin/clang --help | grep version -A 2` to remind myself. While here, also document -mios-version-min=. Don't document -mios-simulator-version-min= as it's just an alias for -mios-version-min= these days. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@225409 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index c6517d15da..3c1dd21831 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -1096,14 +1096,16 @@ def mhwdiv_EQ : Joined<["-"], "mhwdiv=">, Group; def mglobal_merge : Flag<["-"], "mglobal-merge">, Group; def mhard_float : Flag<["-"], "mhard-float">, Group; def miphoneos_version_min_EQ : Joined<["-"], "miphoneos-version-min=">, Group; -def mios_version_min_EQ : Joined<["-"], "mios-version-min=">, Alias; +def mios_version_min_EQ : Joined<["-"], "mios-version-min=">, + Alias, HelpText<"Set iOS deployment target">; def mios_simulator_version_min_EQ : Joined<["-"], "mios-simulator-version-min=">, Alias; def mkernel : Flag<["-"], "mkernel">, Group; def mlinker_version_EQ : Joined<["-"], "mlinker-version=">, Flags<[DriverOption]>; def mllvm : Separate<["-"], "mllvm">, Flags<[CC1Option,CC1AsOption,CoreOption]>, HelpText<"Additional arguments to forward to LLVM's option processing">; -def mmacosx_version_min_EQ : Joined<["-"], "mmacosx-version-min=">, Group; +def mmacosx_version_min_EQ : Joined<["-"], "mmacosx-version-min=">, + Group, HelpText<"Set Mac OS X deployment target">; def mms_bitfields : Flag<["-"], "mms-bitfields">, Group, Flags<[CC1Option]>, HelpText<"Set the default structure layout to be compatible with the Microsoft compiler standard">; def mstackrealign : Flag<["-"], "mstackrealign">, Group, Flags<[CC1Option]>,