[DSC-93] Added help to ProcessCleaner

This commit is contained in:
Luca Giamminonni
2022-09-15 15:48:04 +02:00
parent e96107a6b9
commit a111152ea0
3 changed files with 17 additions and 4 deletions

View File

@@ -40,6 +40,8 @@ public class ProcessCleanerConfiguration<T extends ProcessCleaner> extends Scrip
Options options = new Options();
options.addOption("h", "help", false, "help");
options.addOption("r", "running", false, "delete the process with RUNNING status");
options.getOption("r").setType(boolean.class);