Skip to content

Commit 77dd73a

Browse files
committed
remove _ versions of boolean options, keep - versions.
1 parent b2012a5 commit 77dd73a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pythonforandroid/toolchain.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2540,17 +2540,17 @@ def __init__(self):
25402540
default='')
25412541

25422542
add_boolean_option(
2543-
parser, ["allow-download", "allow_download"],
2543+
parser, ["allow-download"],
25442544
default=False,
25452545
description='Whether to allow binary dist download:')
25462546

25472547
add_boolean_option(
2548-
parser, ["allow-build", "allow_build"],
2548+
parser, ["allow-build"],
25492549
default=True,
25502550
description='Whether to allow compilation of a new distribution:')
25512551

25522552
add_boolean_option(
2553-
parser, ["force-build", "force_build"],
2553+
parser, ["force-build"],
25542554
default=False,
25552555
description='Whether to force compilation of a new distribution:')
25562556

@@ -2560,7 +2560,7 @@ def __init__(self):
25602560
help='Directories in which to look for distributions')
25612561

25622562
add_boolean_option(
2563-
parser, ["require-perfect-match", "require_perfect_match"],
2563+
parser, ["require-perfect-match"],
25642564
default=False,
25652565
description=('Whether the dist recipes must perfectly match '
25662566
'those requested'))

0 commit comments

Comments
 (0)