Ramkumar Ramachandra [off-list ref] writes:
Add support for completing 'git blame'. List only the common short
options.
[...]
+_git_blame ()
+{
+ __git_has_doubledash && return
+
+ case "$cur" in
+ -*)
+ __gitcomp "-M -C -L -s -w"
+ esac
+ __git_complete_revlist_file
+}
Is this the first time we introduce completion (I guess you could call
it "help") for short options? I only did a quick search for /-. -/ but
it certainly seems that way.
--
Thomas Rast
trast@{inf,student}.ethz.ch