Add reset to git command docstring

This commit is contained in:
Adrià Arrufat 2023-01-06 00:17:38 +09:00
parent 938be7a7b0
commit f92df3ec96

View File

@ -50,6 +50,7 @@ define-command -params 1.. \
Available commands:
add
rm
reset
blame
commit
checkout
@ -67,7 +68,7 @@ define-command -params 1.. \
update-diff
} -shell-script-candidates %{
if [ $kak_token_to_complete -eq 0 ]; then
printf "add\nrm\nblame\ncommit\ncheckout\ndiff\nhide-blame\nhide-diff\nlog\nnext-hunk\nprev-hunk\nshow\nshow-branch\nshow-diff\ninit\nstatus\nupdate-diff\n"
printf "add\nrm\nreset\nblame\ncommit\ncheckout\ndiff\nhide-blame\nhide-diff\nlog\nnext-hunk\nprev-hunk\nshow\nshow-branch\nshow-diff\ninit\nstatus\nupdate-diff\n"
else
case "$1" in
commit) printf -- "--amend\n--no-edit\n--all\n--reset-author\n--fixup\n--squash\n"; git ls-files -m ;;