Merge pull request #1365 from linpeiyu164/master

fix wrong indentation level for args.backend
This commit is contained in:
Willi Ballenthin
2023-03-10 17:17:22 +01:00
committed by GitHub

View File

@@ -853,15 +853,15 @@ def install_common_args(parser, wanted=None):
help="select sample format, %s" % format_help,
)
if "backend" in wanted:
parser.add_argument(
"-b",
"--backend",
type=str,
help="select the backend to use",
choices=(BACKEND_VIV,),
default=BACKEND_VIV,
)
if "backend" in wanted:
parser.add_argument(
"-b",
"--backend",
type=str,
help="select the backend to use",
choices=(BACKEND_VIV,),
default=BACKEND_VIV,
)
if "rules" in wanted:
parser.add_argument(