mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 23:24:21 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -424,7 +424,6 @@ while getopts 2f:I:A:vnh opt; do
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
errorEcho "Unknown option -$OPTARG"
|
|
||||||
doHelp >&2
|
doHelp >&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue