Add options to enable/disable hooks (sending mail, commit /etc/.git, save to database…) #7
|
@ -333,13 +333,14 @@ while :; do
|
|||
shift
|
||||
break
|
||||
;;
|
||||
-?*)
|
||||
-?*|[[:alnum:]]*)
|
||||
# ignore unknown options
|
||||
printf 'WARN: Unknown option (ignored): %s\n' "$1" >&2
|
||||
;;
|
||||
*)
|
||||
# Default case: If no more options then break out of the loop.
|
||||
break
|
||||
;;
|
||||
esac
|
||||
|
||||
shift
|
||||
|
|
Loading…
Reference in a new issue