From 5fcb31e390ab994727d6129255c78345e9a6ade4 Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Fri, 18 Sep 2020 13:13:54 -0700 Subject: [PATCH] show age binary version and path in help message --- pkgs/agenix.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/agenix.nix b/pkgs/agenix.nix index c775d29..cae142a 100644 --- a/pkgs/agenix.nix +++ b/pkgs/agenix.nix @@ -28,6 +28,9 @@ function show_help () { echo ' ' echo 'RULES environment variable with path to Nix file specifying recipient public keys.' echo "Defaults to './secrets.nix'" + echo ' ' + echo "age binary path: ${ageBin}" + echo "age version: $(${ageBin} --version)" } test $# -eq 0 && (show_help && exit 1)