diff options
-rwxr-xr-x | tessen | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -179,15 +179,15 @@ wld_copy() { print_help() { printf '%s\n' "${0##*/} - autotype and copy data from password-store on wayland" "" printf '%s\n' "Usage: ${0##*/} [options]" "" - printf '%s\n' " tessen use bemenu and either autotype OR copy data" - printf '%s\n' " tessen -b rofi use rofi and either autotype OR copy data" - printf '%s\n' " tessen -b rofi -a autotype use rofi and always autotype data" - printf '%s\n' " tessen -b rofi -a copy use rofi and always copy data" - printf '%s\n' " tessen -b rofi -a both use rofi and always autotype AND copy data" "" + printf '%s\n' " ${0##*/} use bemenu and either autotype OR copy data" + printf '%s\n' " ${0##*/} -b rofi use rofi and either autotype OR copy data" + printf '%s\n' " ${0##*/} -b rofi -a autotype use rofi and always autotype data" + printf '%s\n' " ${0##*/} -b rofi -a copy use rofi and always copy data" + printf '%s\n' " ${0##*/} -b rofi -a both use rofi and always autotype AND copy data" "" printf '%s\n' " -b, --backend, --backend= choose 'bemenu' or 'rofi' as backend (default: bemenu)" printf '%s\n' " -a, --action, --action= choose one of 'autotype|copy|both'" printf '%s\n' " -h, --help print this help menu" - printf '%s\n' " -v, --version print the version of tessen" "" + printf '%s\n' " -v, --version print the version of ${0##*/}" "" printf '%s\n' "For more details, visit https://github.com/ayushnix/tessen" } @@ -276,7 +276,7 @@ main() { exit 0 ;; -v | --version) - printf '%s\n' "tessen version $VERSION" + printf '%s\n' "${0##*/} version $VERSION" exit 0 ;; --) |