1
0
mirror of https://github.com/zplug/zplug synced 2025-04-30 13:17:57 +02:00

Add the desc of --self-manage option

and fix help description algorithm

Related to #311
This commit is contained in:
b4b4r07 2016-12-28 02:16:44 +09:00
parent 09910e7690
commit 26284a5ef4
2 changed files with 3 additions and 0 deletions

@ -74,6 +74,7 @@ fi
printf "\n$obj:\n"
;;
*)
desc="(None)"
[[ -n $opts[$obj] ]] && desc="$opts[$obj]"
[[ -n $cmds[$obj] ]] && desc="$cmds[$obj]"
printf " %-${max}s %s\n" \

@ -1,4 +1,6 @@
#!/usr/bin/env zsh
# Description:
# Self management of zplug
if ! __zplug::base::base::zpluged "zplug/zplug"; then
__zplug::io::print::f \