diff options
Diffstat (limited to 'scripts/install-buildtools')
-rwxr-xr-x | scripts/install-buildtools | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/install-buildtools b/scripts/install-buildtools index a9173fa096..69ce9a1f05 100755 --- a/scripts/install-buildtools +++ b/scripts/install-buildtools | |||
@@ -154,9 +154,11 @@ def main(): | |||
154 | group.add_argument('--without-extended-buildtools', action='store_false', | 154 | group.add_argument('--without-extended-buildtools', action='store_false', |
155 | dest='with_extended_buildtools', | 155 | dest='with_extended_buildtools', |
156 | help='disable extended buildtools (traditional buildtools tarball)') | 156 | help='disable extended buildtools (traditional buildtools tarball)') |
157 | parser.add_argument('-c', '--check', help='enable md5 checksum checking', | 157 | group = parser.add_mutually_exclusive_group() |
158 | default=True, | 158 | group.add_argument('-c', '--check', help='enable checksum validation', |
159 | action='store_true') | 159 | default=True, action='store_true') |
160 | group.add_argument('-n', '--no-check', help='disable checksum validation', | ||
161 | dest="check", action='store_false') | ||
160 | parser.add_argument('-D', '--debug', help='enable debug output', | 162 | parser.add_argument('-D', '--debug', help='enable debug output', |
161 | action='store_true') | 163 | action='store_true') |
162 | parser.add_argument('-q', '--quiet', help='print only errors', | 164 | parser.add_argument('-q', '--quiet', help='print only errors', |