Skip to content

Commit

Permalink
fix help menu not printing extension name
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushnix committed Oct 2, 2021
1 parent 2ecb691 commit eda0d9b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ which you probably should.
### Stable Release

```
wget https://github.com/ayushnix/pass-tessen/releases/download/v1.5.2/pass-tessen-1.5.2.tar.gz
tar xvzf pass-tessen-1.5.2.tar.gz
cd pass-tessen-1.5.2
wget https://github.com/ayushnix/pass-tessen/releases/download/v1.5.3/pass-tessen-1.5.3.tar.gz
tar xvzf pass-tessen-1.5.3.tar.gz
cd pass-tessen-1.5.3
sudo make install
```

Expand Down
10 changes: 5 additions & 5 deletions tessen.bash
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set +x
# PROGRAM - the name of password-store, pass

# initialize the global variables
TSN_VERSION="1.5.2"
TSN_VERSION="1.5.3"
TSN_PASSFILE=""
declare -A TSN_PASSDATA_ARR
TSN_USERNAME=""
Expand Down Expand Up @@ -166,11 +166,11 @@ tsn_die() {

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

Expand All @@ -185,7 +185,7 @@ while [[ "$#" -gt 0 ]]; do
exit 0
;;
-v | --version)
printf '%s\n' "$PROGRAM ${0##*/} version $TSN_VERSION"
printf '%s\n' "$PROGRAM tessen version $TSN_VERSION"
exit 0
;;
--)
Expand Down

0 comments on commit eda0d9b

Please sign in to comment.