diff --git a/validate_workflow.sh b/validate_workflow.sh index fd52b11f08240a041b83ad3af4e419ac25a8df79..2eda2e576eaaecb603fe8892425b86c52b880641 100755 --- a/validate_workflow.sh +++ b/validate_workflow.sh @@ -13,7 +13,7 @@ # - use 'newline' as line ending # in IntelliJ idea the settings are: # Indent case statements -# Use Unix line spearators +# Use Unix line separators # Tab size: 4 # Indent: 4 # Shfmt formatter: ~/.local/share/JetBrains/IdeaIC2022.1/Shell Script/shfmt @@ -23,7 +23,7 @@ #hh A cli tool which uses different validators to validate SLUB workflows. #hh -#hh Usage: validate_workflow.sh [-h] | [-s] | -w watchfolder -r resultfolder [-d] [...] +#hh Usage: validate_workflow.sh [-h] | [-s] | -w <DIR> -r <DIR> [-d] [...] #hh #hh Options: #hh @@ -286,7 +286,7 @@ get_cli_args() { || [ -n "${INVALID_FOLDER}" ] \ || [ "${FILES_MODE}" = "sort" ] \ ; then - error "param --pipe not combineable with params --daemon, --result-folder, --watch-folder, --valid-folder, --invalid-folder, --files-mode" + error "param --pipe not combinable with params --daemon, --result-folder, --watch-folder, --valid-folder, --invalid-folder, --files-mode" exit 1 fi else @@ -451,7 +451,7 @@ handle_input_if_requested() { mv "${filename}" "${INVALID_FOLDER}" fi elif [ "${FILES_MODE}" = "delete" ]; then - debug "handle_input_if_requested, rm ${filename} from watchfolder ${WATCH_FOLDER}" + debug "handle_input_if_requested, rm ${filename} from watch-folder ${WATCH_FOLDER}" rm -f "${filename}" fi }