summaryrefslogtreecommitdiff
path: root/options/dataset_options.py
diff options
context:
space:
mode:
Diffstat (limited to 'options/dataset_options.py')
-rw-r--r--options/dataset_options.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/options/dataset_options.py b/options/dataset_options.py
index 543d776..c6530d0 100644
--- a/options/dataset_options.py
+++ b/options/dataset_options.py
@@ -93,6 +93,12 @@ class DatasetOptions(BaseOptions):
help='after generating a B image, save it to disk'
)
+ self.parser.add_argument(
+ '--exit',
+ action='store_true',
+ help='exit immediately if set to true (used to interrupt)'
+ )
+
## IMAGE FILTERS
### RECURSION