This modifies the help-strings for parameters in `osbuild --help`. Rather than using the identifier to describe its purpose, make it describe its type. That is, this changes: --sources=SOURCES => --sources=FILE The option-name should already describe the purpose, so lets use the argument-name for the type. This also improves on the stuttering when reading the output. We already do that for options that take directories as arguments. For some reasons, we did not do that for options that take file-paths. It is arguable whether this should be `PATH` or `FILE`. The latter has the advantage that it makes clear that it is not a directory. It should be obvious that `FILE` allows all kinds of paths. Lastly, this does not update the positional arguments (in our case just `PIPELINE`), since I did not conclude on the best way to make it self-documenting. `PIPELINE-FILE` sounds convoluted. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| api.py | ||
| buildroot.py | ||
| loop.py | ||
| objectstore.py | ||
| pipeline.py | ||
| remoteloop.py | ||
| sources.py | ||
| tmpfs.py | ||
| treesum.py | ||