home-manager: add --version option

This commit is contained in:
Robert Helgesson 2020-11-03 23:10:21 +01:00
parent 249e31b656
commit ef72617c4a
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -512,6 +512,10 @@ while [[ $# -gt 0 ]]; do
-v|--verbose)
export VERBOSE=1
;;
--version)
echo 21.03
exit 0
;;
*)
case $COMMAND in
expire-generations|remove-generations)