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
|
mode=cvsroot
|
||||||
cvsroot=${words[((count+1))]}
|
cvsroot=${words[((count+1))]}
|
||||||
;;
|
;;
|
||||||
ad|add|new)
|
add|ad|new)
|
||||||
mode=add
|
mode=add
|
||||||
;;
|
;;
|
||||||
adm|admin|rcs)
|
admin|adm|rcs)
|
||||||
mode=admin
|
mode=admin
|
||||||
;;
|
;;
|
||||||
ann|annotate)
|
annotate|ann)
|
||||||
mode=annotate
|
mode=annotate
|
||||||
;;
|
;;
|
||||||
checkout|co|get)
|
checkout|co|get)
|
||||||
mode=checkout
|
mode=checkout
|
||||||
;;
|
;;
|
||||||
com|commit|ci)
|
commit|ci|com)
|
||||||
mode=commit
|
mode=commit
|
||||||
;;
|
;;
|
||||||
di|dif|diff)
|
diff|di|dif)
|
||||||
mode=diff
|
mode=diff
|
||||||
;;
|
;;
|
||||||
ex|exp|export)
|
export|ex|exp)
|
||||||
mode=export
|
mode=export
|
||||||
;;
|
;;
|
||||||
edit|unedit)
|
edit|unedit)
|
||||||
mode=$i
|
mode=$i
|
||||||
;;
|
;;
|
||||||
hi|his|history)
|
history|hi|his)
|
||||||
mode=history
|
mode=history
|
||||||
;;
|
;;
|
||||||
im|imp|import)
|
import|im|imp)
|
||||||
mode=import
|
mode=import
|
||||||
;;
|
;;
|
||||||
re|rel|release)
|
|
||||||
mode=release
|
|
||||||
;;
|
|
||||||
log|rlog)
|
log|rlog)
|
||||||
mode=log
|
mode=log
|
||||||
;;
|
;;
|
||||||
rdiff|patch)
|
rdiff|patch)
|
||||||
mode=rdiff
|
mode=rdiff
|
||||||
;;
|
;;
|
||||||
|
release|re|rel)
|
||||||
|
mode=release
|
||||||
|
;;
|
||||||
remove|rm|delete)
|
remove|rm|delete)
|
||||||
mode=remove
|
mode=remove
|
||||||
;;
|
;;
|
||||||
rtag|rfreeze)
|
rtag|rfreeze)
|
||||||
mode=rtag
|
mode=rtag
|
||||||
;;
|
;;
|
||||||
st|stat|status)
|
status|st|stat)
|
||||||
mode=status
|
mode=status
|
||||||
;;
|
;;
|
||||||
tag|freeze)
|
tag|freeze)
|
||||||
mode=tag
|
mode=tag
|
||||||
;;
|
;;
|
||||||
up|upd|update)
|
update|up|upd)
|
||||||
mode=update
|
mode=update
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user