home-manager: remove unnecessary error message
An error message about the erroneous option is already printed by `getopts` so there is no need to print it again.
This commit is contained in:
parent
c48db4fbba
commit
67aee78fdf
|
@ -424,7 +424,6 @@ while getopts 2f:I:A:vnh opt; do
|
|||
exit 0
|
||||
;;
|
||||
*)
|
||||
errorEcho "Unknown option -$OPTARG"
|
||||
doHelp >&2
|
||||
exit 1
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue