From 63f299b3347aea183fc5088e4d6c4a193b334a41 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Tue, 3 Nov 2020 23:10:21 +0100 Subject: [PATCH] home-manager: add `--version` option --- home-manager/home-manager | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home-manager/home-manager b/home-manager/home-manager index 96de69148..143047983 100644 --- a/home-manager/home-manager +++ b/home-manager/home-manager @@ -512,6 +512,10 @@ while [[ $# -gt 0 ]]; do -v|--verbose) export VERBOSE=1 ;; + --version) + echo 20.09 + exit 0 + ;; *) case $COMMAND in expire-generations|remove-generations)