Skip to content

Commit

Permalink
fix: fixed the cli showing full path in usage
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushSehrawat committed Apr 5, 2023
1 parent 02deec0 commit 89554d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ readonly brain_url="https://raw.githubusercontent.com/neobrains/brain/main/brain
valid_commands=("install" "uninstall" "update" "upgrade" "search" "list" "info")

usage() {
echo "Usage: $(basename "$0") [options] [command]"
echo "brain version $(cat "$VERSION_FILE")"
echo "Usage: $0 [options] [command]"
echo "Options:"
echo " -h, --help Show this help message and exit"
echo " -v, --version Show version and exit"
Expand Down

0 comments on commit 89554d1

Please sign in to comment.