diff options
Diffstat (limited to 'Functions/Misc/run-help-git')
-rw-r--r-- | Functions/Misc/run-help-git | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Functions/Misc/run-help-git b/Functions/Misc/run-help-git index ce94d0d02..a841f89d6 100644 --- a/Functions/Misc/run-help-git +++ b/Functions/Misc/run-help-git @@ -1,9 +1 @@ -if [ $# -eq 0 ]; then - man git -else - local al - if al=$(git config --get "alias.$1"); then - 1=${al%% *} - fi - man git-$1 -fi +git help ${1:-git} |