From e782d73333ef085051b384c5ba7fb7b5e7675579 Mon Sep 17 00:00:00 2001 From: Victor Nakoryakov Date: Tue, 24 Sep 2013 13:37:09 +0400 Subject: [PATCH] add shortcut to --cppflags --- ino/commands/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ino/commands/build.py b/ino/commands/build.py index 1ce313f..7aea046 100644 --- a/ino/commands/build.py +++ b/ino/commands/build.py @@ -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',