Fix argument passed as list instead of string
This commit is contained in:
2
run.py
2
run.py
@@ -81,7 +81,7 @@ def main(input_args):
|
|||||||
"--beta", action="store_true", default=False,
|
"--beta", action="store_true", default=False,
|
||||||
help="Install latest beta release of Modoboa instead of the stable one")
|
help="Install latest beta release of Modoboa instead of the stable one")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--bash", type=str, nargs=1, metavar="path",
|
"--bash", type=str, metavar="path",
|
||||||
help="(backup only) - For script usage, No interaction will be required, you must provide a path")
|
help="(backup only) - For script usage, No interaction will be required, you must provide a path")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--sbash", action="store_true", default=False,
|
"--sbash", action="store_true", default=False,
|
||||||
|
|||||||
Reference in New Issue
Block a user