Skip to content

Commit 4cd544b

Browse files
author
Mattis Manfred Kämmerer
committed
Require boa credentials
1 parent f9463df commit 4cd544b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

mubench.pipeline/utils/config_util.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,12 @@ def __add_run_cross_project_prepare(subparsers) -> None:
264264
help="TODO",
265265
description="TODO")
266266

267-
parser.add_argument("-bu", "--boa-username", metavar="BOAUSER", dest="boa_user",
268-
default=__get_default('boa-username', None),
269-
help="TODO")
270-
parser.add_argument("-bp", "--boa-password", metavar="BOAPASS", dest="boa_password",
271-
default=__get_default('boa-password', None),
272-
help="TODO")
267+
boa_user = __get_default('boa-user', None)
268+
boa_password = __get_default('boa-password', None)
269+
parser.add_argument("-bu", "--boa-user", metavar="BOAUSER", required=not boa_user,
270+
default=boa_user, help="Your boa username.")
271+
parser.add_argument("-bp", "--boa-password", metavar="BOAPASSWORD", required=not boa_password,
272+
default=boa_password, help="Your boa password.")
273273

274274

275275
def __add_run_cross_project_create_project_list(subparsers) -> None:

0 commit comments

Comments
 (0)