]> granicus.if.org Git - graphviz/commit
tclpkg vgpanecmd: remove acceptance of ambiguous abbreviated commands
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 8 Feb 2022 10:51:32 +0000 (21:51 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 20 Feb 2022 18:35:23 +0000 (10:35 -0800)
commit6528616adea51833f6ba7d4301b8c17e0d106ed0
treeb23d5bf6067d253a33fbe14a683ded2bf6b22085
parent42e748d5ad377afaee04b72ac3ef89033b3f200e
tclpkg vgpanecmd: remove acceptance of ambiguous abbreviated commands

`vgpanecmd` accepted abbreviations of commands, e.g. `li` for list. However
these abbreviations were accepted as first match with no disambiguation. So `r`
would always be interpreted as `rotate`, not `remove`. This behavior appears to
be an unintentional side effect of commands being incrementally introduced over
time without this kind of prefix-matching overlap being taken into account,
though this is mostly a guess as all this code was implemented prior to the
first Git commit.

Gitlab: fixes #1961
CHANGELOG.md
tclpkg/tclpathplan/tclpathplan.c