To reproduce, use the following XML-code:
<VIEW ...>
<COMMAND name="crypto pki clear keys"
help="Erase all private keys">
<ACTION>pki-clear-keys ${__interactive}</ACTION>
</COMMAND>
<COMMAND name="crypto pki clear key"
help="Erase private key by name">
<PARAM name="name"
help="Key name"
ptype="IKE_CONTAINER"
completion="${PKI_POSSIBLE_KEY}" />
<ACTION>pki-clear-key ${name}</ACTION>
</COMMAND>
</VIEW>
<VAR name="PKI_POSSIBLE_KEY" help="poss key" dynamic="true">
<ACTION>echo "key.p15"</ACTION>
</VAR>
If you type the command:
# crypto pki clear key
and press Tab, you will get:
key keys key.p15
Somehow completions of the commands "crypto pki clear key/keys" is mixed with
completion of "name" parameter in the command "crypto pki clear key".
Original issue reported on code.google.com by v.n.podo...@gmail.com on 14 Jan 2013 at 1:10
Original issue reported on code.google.com by
v.n.podo...@gmail.com
on 14 Jan 2013 at 1:10