This directory contains examples for how to detect ambiguous subcommands to fnest
.
Details
Subcommands may start with the same letter(s).
For example, the command fossil cl
shows the following message:
ambiguous command prefix: 'cl' could be any of: 'clean' 'clone' 'close'
Anyhow, the command fossil cle
is not ambiguous, and is equivalent to fossil clean
.
There are only a few subcommands to fnest
, but a few of them starts with the same letter:
cfg | cgi | group | help | hide | index | list | pass | pending | setup | skin | test | which
Implementing the same "ambiguous-command detection" functionality for fnest
as for fossil
, should shows the following message for fnest
:
ambiguous command prefix: 'c' could be any of: 'cfg' 'cgi'