Control: reopen -1
Control: retitle -1 otpclient-cli usage disagrees with the man page
Control: severity -1 normal

On 2024-06-26 13:03:06 +0000, Debian Bug Tracking System wrote:
> Hi Vincent,
> 
> On Tue, 25 Jun 2024 15:09:17 +0200 Vincent Lefevre <vinc...@vinc17.net> wrote:
> > 
> > "otpclient-cli show -a <account>" or "otpclient-cli list" prompts
> > for the password, but does not output anything else.
> 
> The command is almost correct, but the hyphens are missing,
> try this:
> 
> $ otpclient-cli --show -a <account>
> 
> $ otpclient-cli --list

This is not what the otpclient-cli(1) man page says:

       Main Options:

              -v, --version
                     Show program version.

              show   Show a token.

              list   List all pairs of account and issuer.

              export Export data.

I suspect that these were intended to be commands, thus without
hyphens. But perhaps that this is no longer the case.

So either the program or the man page needs to be changed.

The man page also gives

       Help Options:

              -h, --help
                     Show this help.

              --help-show
                     Show options.

              --help-export
                     Export options.

The -h / --help option works and gives a different usage,
and --help-show and --help-export do not work.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to