Skip to content

Discrepancy in within-app help #15

@larsvilhuber

Description

@larsvilhuber

When asking about general grammar:

tro-utils --help
Usage: tro-utils [OPTIONS] COMMAND [ARGS]...

Options:
  --declaration PATH      Path to the TRO declaration file
 ...

Commands:
...
  verify-package    Verify the integrity of the TRO
  verify-timestamp  Verify that TRO is signed and timestamped correctly

so logically

OPTIONS = --declaration
COMMAND = verify-package

and

tro-utils --declaration tro/tro-696d3b46adffb76fef0d83bc.jsonld verify-package

But:

Usage: tro-utils verify-package [OPTIONS] DECLARATION PACKAGE
Try 'tro-utils verify-package --help' for help.

???

what worked is

tro-utils verify-package tro/tro-696d3b46adffb76fef0d83bc.jsonld project/

but that's not consistent with the general help syntax.

Note:

Verifying that arrangement 'arrangement/0' matches package contents of 'project/' ✗
Verifying that arrangement 'arrangement/1' matches package contents of 'project/' ✓

NICE!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions