mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-22 17:50:48 +03:00
show age binary version and path in help message
This commit is contained in:
parent
07ce686870
commit
5fcb31e390
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue