Skip to content

Commit

Permalink
add shortcut to --cppflags
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrkv committed Sep 24, 2013
1 parent a4a16e9 commit e782d73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ino/commands/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ def setup_arg_parser(self, parser):
'is not given, searches in Arduino directories '
'before PATH. Default: "%(default)s".')

parser.add_argument('--cppflags', metavar='FLAGS',
parser.add_argument('-f', '--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 '
'`--cppflags="-DC1 -DC2"\' specifies flags to define '
'the constants C1 and C2. Default: "%(default)s".')

parser.add_argument('--cflags', metavar='FLAGS',
Expand Down

0 comments on commit e782d73

Please sign in to comment.