#2077 document expected format for `koji list-builds` "--before" and "--after" arguments
Closed: Fixed by tkopecek. Opened 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

PR #2245

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

Commit aeff29bc fixes this issue

Commit 4c54ea57 fixes this issue

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

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/2077

Please continue any further discussion there.

Metadata
Related Pull Requests