We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55ff9fc commit e2fc88fCopy full SHA for e2fc88f
1 file changed
scripts/nxt_test
@@ -7,8 +7,8 @@ import sys
7
import nxt.locator
8
9
p = argparse.ArgumentParser(description="Test the nxt-python setup")
10
-p.add_argument("--sound", action=argparse.BooleanOptionalAction, default=True,
11
- help="enable or disable sound test")
+p.add_argument("--no-sound", action="store_false", dest="sound",
+ default=True, help="disable sound test")
12
nxt.locator.add_arguments(p)
13
levels = ('DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL')
14
p.add_argument("--log-level", type=str.upper, choices=levels, help="set log level")
0 commit comments