remove shortcut arg names for `ino build' toolset

Esse commit está contido em:
Victor Nakoryakov
2013-09-24 11:24:54 +04:00
commit 5e34f2a344
+19 -16
Ver Arquivo
@@ -55,54 +55,57 @@ class Build(Command):
self.e.add_board_model_arg(parser)
self.e.add_arduino_dist_arg(parser)
parser.add_argument('-c', '--cc', metavar='COMPILER',
parser.add_argument('--cc', metavar='COMPILER',
default=self.default_cc,
help='Specifies the compiler used for C files. If '
'a full path is not given, searches in Arduino '
'directories _before_ PATH. Default: %(default)s.')
parser.add_argument('-+', '--cxx', metavar='COMPILER',
'directories before PATH. Default: "%(default)s".')
parser.add_argument('--cxx', metavar='COMPILER',
default=self.default_cxx,
help='Specifies the compiler used for C++ files. '
'If a full path is not given, searches in Arduino '
'directories _before_ PATH. Default: %(default)s.')
parser.add_argument('-a', '--ar', metavar='AR',
'directories before PATH. Default: "%(default)s".')
parser.add_argument('--ar', metavar='AR',
default=self.default_ar,
help='Specifies the AR tool to use. If a full path '
'is not given, searches in Arduino directories '
'before PATH. Default: %(default)s.')
parser.add_argument('-o', '--objcopy', metavar='OBJCOPY',
'before PATH. Default: "%(default)s".')
parser.add_argument('--objcopy', metavar='OBJCOPY',
default=self.default_objcopy,
help='Specifies the OBJCOPY to use. If a full path '
'is not given, searches in Arduino directories '
'before PATH. Default: %(default)s.')
'before PATH. Default: "%(default)s".')
parser.add_argument('-p', '--cppflags', metavar='FLAGS',
parser.add_argument('--cppflags', metavar='FLAGS',
default=self.default_cppflags,
help='Flags that will be passed to the compiler. '
'Note that multiple (space-separated) flags must '
'be surrounded by quotes, e.g. '
'`--cflags="-DC1 -DC2"\' specifies flags to define '
'the constants C1 and C2. Default: %(default)s')
'the constants C1 and C2. Default: "%(default)s".')
parser.add_argument('-f', '--cflags', metavar='FLAGS',
parser.add_argument('--cflags', metavar='FLAGS',
default=self.default_cflags,
help='Like --cppflags, but the flags specified are '
'only passed to compilations of C source files. '
'Default: %(default)s')
'Default: "%(default)s".')
parser.add_argument('-x', '--cxxflags', metavar='FLAGS',
parser.add_argument('--cxxflags', metavar='FLAGS',
default=self.default_cxxflags,
help='Like --cppflags, but the flags specified '
'are only passed to compilations of C++ source '
'files. Default: %(default)s')
'files. Default: "%(default)s".')
parser.add_argument('-l', '--ldflags', metavar='FLAGS',
parser.add_argument('--ldflags', metavar='FLAGS',
default=self.default_ldflags,
help='Like --cppflags, but the flags specified '
'are only passed during the linking stage. Note '
'these flags should be specified as if `ld\' were '
'being invoked directly (i.e. the `-Wl,\' prefix '
'should be omitted). Default: %(default)s')
'should be omitted). Default: "%(default)s".')
parser.add_argument('-v', '--verbose', default=False, action='store_true',
help='Verbose make output')