Skip to content

Commit eda0d9b

Browse files
author
Ayush Agarwal
committed
fix help menu not printing extension name
1 parent 2ecb691 commit eda0d9b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ which you probably should.
5252
### Stable Release
5353

5454
```
55-
wget https://github.com/ayushnix/pass-tessen/releases/download/v1.5.2/pass-tessen-1.5.2.tar.gz
56-
tar xvzf pass-tessen-1.5.2.tar.gz
57-
cd pass-tessen-1.5.2
55+
wget https://github.com/ayushnix/pass-tessen/releases/download/v1.5.3/pass-tessen-1.5.3.tar.gz
56+
tar xvzf pass-tessen-1.5.3.tar.gz
57+
cd pass-tessen-1.5.3
5858
sudo make install
5959
```
6060

tessen.bash

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set +x
1818
# PROGRAM - the name of password-store, pass
1919

2020
# initialize the global variables
21-
TSN_VERSION="1.5.2"
21+
TSN_VERSION="1.5.3"
2222
TSN_PASSFILE=""
2323
declare -A TSN_PASSDATA_ARR
2424
TSN_USERNAME=""
@@ -166,11 +166,11 @@ tsn_die() {
166166

167167
# the help menu
168168
tsn_help() {
169-
printf '%s\n' "$PROGRAM ${0##*/} - a fuzzy data selection interface for pass"
170-
printf '%s\n' "Usage: $PROGRAM ${0##*/} [-p|--preview] [-h|--help] [-v|--version]"
169+
printf '%s\n' "$PROGRAM tessen - a fuzzy data selection interface for pass"
170+
printf '%s\n' "Usage: $PROGRAM tessen [-p|--preview] [-h|--help] [-v|--version]"
171171
printf '\t%s\n' "-p, --preview: show preview of password data"
172172
printf '\t%s\n' "-h, --help: print this help menu"
173-
printf '\t%s\n' "-v, --version: print the version of $PROGRAM ${0##*/}"
173+
printf '\t%s\n' "-v, --version: print the version of $PROGRAM tessen"
174174
printf '%s\n' "For more details, visit https://github.com/ayushnix/pass-tessen"
175175
}
176176

@@ -185,7 +185,7 @@ while [[ "$#" -gt 0 ]]; do
185185
exit 0
186186
;;
187187
-v | --version)
188-
printf '%s\n' "$PROGRAM ${0##*/} version $TSN_VERSION"
188+
printf '%s\n' "$PROGRAM tessen version $TSN_VERSION"
189189
exit 0
190190
;;
191191
--)

0 commit comments

Comments
 (0)