nixpkgs/pkgs/tools/security/pass/program-name.patch
zimbatm 53f7baa6b8 pass: fixes .wrapped-pass in usage
When using `pass --help` for example the PROGRAM name is ".wrapped-pass"
instead of "pass".
2016-01-30 01:59:12 +00:00

14 lines
276 B
Diff

diff --git a/src/password-store.sh b/src/password-store.sh
index 6313384..6607a98 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -573,7 +573,7 @@ cmd_git() {
# END subcommand functions
#
-PROGRAM="${0##*/}"
+PROGRAM="pass"
COMMAND="$1"
case "$1" in