From 1508dc7486636edcb54e81f6a2fcf0faf180c7fa Mon Sep 17 00:00:00 2001 From: Marlon Richert Date: Mon, 6 Sep 2021 13:45:36 -0700 Subject: 49218: run-help filters cmd_args before calling run-help- --- Functions/Misc/run-help-git | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'Functions/Misc/run-help-git') 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} -- cgit 1.4.1