cvs: List "primary" command names first in mode switch.
This commit is contained in:
parent
f186fc00fc
commit
080f04fcea
@ -73,58 +73,58 @@ _cvs()
|
||||
mode=cvsroot
|
||||
cvsroot=${words[((count+1))]}
|
||||
;;
|
||||
ad|add|new)
|
||||
add|ad|new)
|
||||
mode=add
|
||||
;;
|
||||
adm|admin|rcs)
|
||||
admin|adm|rcs)
|
||||
mode=admin
|
||||
;;
|
||||
ann|annotate)
|
||||
annotate|ann)
|
||||
mode=annotate
|
||||
;;
|
||||
checkout|co|get)
|
||||
mode=checkout
|
||||
;;
|
||||
com|commit|ci)
|
||||
commit|ci|com)
|
||||
mode=commit
|
||||
;;
|
||||
di|dif|diff)
|
||||
diff|di|dif)
|
||||
mode=diff
|
||||
;;
|
||||
ex|exp|export)
|
||||
export|ex|exp)
|
||||
mode=export
|
||||
;;
|
||||
edit|unedit)
|
||||
mode=$i
|
||||
;;
|
||||
hi|his|history)
|
||||
history|hi|his)
|
||||
mode=history
|
||||
;;
|
||||
im|imp|import)
|
||||
import|im|imp)
|
||||
mode=import
|
||||
;;
|
||||
re|rel|release)
|
||||
mode=release
|
||||
;;
|
||||
log|rlog)
|
||||
mode=log
|
||||
;;
|
||||
rdiff|patch)
|
||||
mode=rdiff
|
||||
;;
|
||||
release|re|rel)
|
||||
mode=release
|
||||
;;
|
||||
remove|rm|delete)
|
||||
mode=remove
|
||||
;;
|
||||
rtag|rfreeze)
|
||||
mode=rtag
|
||||
;;
|
||||
st|stat|status)
|
||||
status|st|stat)
|
||||
mode=status
|
||||
;;
|
||||
tag|freeze)
|
||||
mode=tag
|
||||
;;
|
||||
up|upd|update)
|
||||
update|up|upd)
|
||||
mode=update
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user