Fix check for -t/--task option. Remove -q and -d crab short options (allow only the long --quiet and --debug options).
Merge pull request #4336 from AndresTanasijczuk/fix_dir

Fix check for -t/--task option. Remove -q and -d crab short options (allow only the long --quiet and --debug options).