SignotaurTool docs are off

Apparently the docs regarding Signotaur params are not up to date. It seems “COMMAND” is missing:

WRONG

SignotaurTool.exe [options] <files>

CORRECT

SignotaurTool.exe SIGN [options] <files>

The integrated help is wrong as well, it lists the COMMAND as last param, but apparently the command needs to be the very first param:

Hi Olaf

The docs are wrong - we will fix that today (new build coming with more client commands)

The usage is correct - in the above case the options are general options (the only one being --help).

If you specify a command

SignotaurTool sign --help then you get

USAGE:
    SignotaurTool.exe sign [files] [OPTIONS]

ARGUMENTS:
    [files]    List of file paths to sign. These can contain wildcards

OPTIONS:
                                              DEFAULT
    -h, --help                                           Prints help information
        --nb                                             Hide banner
...

I just looked again (sorry, I couldn’t do it earlier)
Like you said, usage is correct but only for
SignotaurTool sign --help

The problem is with:
Signotaur
or
Signotaur --help

both list [OPTIONS] <COMMAND> in reverse order, which took me a while to figure out, when I got started. See screenshots.


Unfortunately that is how the CLI library we use works.

The OPTIONS in this case are global options - the only on being -h

It is a bit annoying - I will see if there is anything we can do about it.