From a3a43b4dbcc8da71a0dc34bbc036c6850d934a3a Mon Sep 17 00:00:00 2001 From: Bhupesh-V Date: Fri, 2 Feb 2024 23:10:09 +0530 Subject: [PATCH] remove usage of basename on help text (#66) --- ugit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ugit b/ugit index b31fc35..6b20eac 100755 --- a/ugit +++ b/ugit @@ -421,8 +421,9 @@ check_deps() { show_version() { printf "ugit version %s\n" "$VERSION" } + print_help() { - printf "Usage: %s [-h] [-v] [-u] [-g]\n" "$(basename "${BASH_SOURCE[0]}")" + printf "Usage: %s [-h] [-v] [-u] [-g]\n" "ugit" printf "ugit helps you undo git commands without much effort\n" printf "Just run 'ugit' and search for what you want to undo\n\n" printf "Available options:\n"