mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-17 20:38:06 +00:00
Updating error and fixing default value for uto_create_cli_app (#2378)
This commit is contained in:
committed by
GitHub
parent
ce1fc773a9
commit
ecf858bbdd
@ -579,6 +579,7 @@ class Client:
|
|||||||
logger.error(
|
logger.error(
|
||||||
"error deploying. could not find specified CLI app registrion."
|
"error deploying. could not find specified CLI app registrion."
|
||||||
"use flag --auto_create_cli_app to automatically create CLI registration"
|
"use flag --auto_create_cli_app to automatically create CLI registration"
|
||||||
|
"or specify a correct app id with --cli_app_id."
|
||||||
)
|
)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
@ -1420,7 +1421,7 @@ def main() -> None:
|
|||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--auto_create_cli_app",
|
"--auto_create_cli_app",
|
||||||
action="store_false",
|
action="store_true",
|
||||||
help="Create a new CLI App Registration if the default app or custom "
|
help="Create a new CLI App Registration if the default app or custom "
|
||||||
"app is not found. ",
|
"app is not found. ",
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user