1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00
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