diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2018-01-30 18:04:11 +0300 |
---|---|---|
committer | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2018-02-05 13:26:38 +0300 |
commit | aefe24222f05a183f88473648eca55f060bd54e3 (patch) | |
tree | ccaac12127e3a23df250ab03b391c2f6f08cc194 /cura_app.py | |
parent | 6bbc18d51e788dad525934963a8765f9758ff810 (diff) |
Add a CLI flag to test early crash
CURA-4895
Diffstat (limited to 'cura_app.py')
-rwxr-xr-x | cura_app.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cura_app.py b/cura_app.py index a4099881d1..79ef170ac9 100755 --- a/cura_app.py +++ b/cura_app.py @@ -16,6 +16,12 @@ parser.add_argument('--debug', default = False, help = "Turn on the debug mode by setting this option." ) +parser.add_argument('--trigger-early-crash', + dest = 'trigger_early_crash', + action = 'store_true', + default = False, + help = "FOR TESTING ONLY. Trigger an early crash to show the crash dialog." + ) known_args = vars(parser.parse_known_args()[0]) if not known_args["debug"]: |