1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 16:38:34 +02: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)