diff --git a/scripts/bgit b/scripts/bgit index 0aa37ec3..4a7cbefe 100755 --- a/scripts/bgit +++ b/scripts/bgit @@ -171,6 +171,10 @@ function bgit() { elif [[ $numrepos -ge 1 && $numargs -eq 1 && $1 == "-r" ]] ; then source $HOME/.config/bgit/bgit_revert b_revert "$@" + + elif [[ $numargs -eq 1 && $1 == "-h" || $1 == "--help" ]] ; then + source $HOME/.config/bgit/bgit_help + b_help "$@" fi } diff --git a/scripts/bgit_help b/scripts/bgit_help new file mode 100644 index 00000000..6b439602 --- /dev/null +++ b/scripts/bgit_help @@ -0,0 +1,5 @@ +#!/bin/bash + +function b_help() { + echo "${txtgreen}help message will go here${txtwhite}" +}