#2077 document expected format for `koji list-builds` "--before" and "--after" arguments
Closed: Fixed 3 years ago by tkopecek. Opened 4 years ago by ktdreyer.

$ koji list-builds --help
Usage: koji list-builds [options]
(Specify the --help global option for a list of other help options)

Options:
  -h, --help            show this help message and exit
  --package=PACKAGE     List builds for this package
  --buildid=BUILDID     List specific build from ID or nvr
  --before=BEFORE       List builds built before this time
  --after=AFTER         List builds built after this time
...

It is hard to know what format a user should specify for "--before" or "--after". For example "--after yesterday" does not work :)

It would be great to print some examples in the --help text so that users will know how to use this without reading the source code.


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.22
- Issue tagged with: doc

4 years ago

Metadata Update from @jcupova:
- Issue tagged with: no_qe

3 years ago

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.21.1 (was: 1.22)

3 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2245 Merged 3 years ago