1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

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) -v|--verbose)
export VERBOSE=1 export VERBOSE=1
;; ;;
--version)
echo 21.03
exit 0
;;
*) *)
case $COMMAND in case $COMMAND in
expire-generations|remove-generations) expire-generations|remove-generations)