Bug 1156043 - Improve help for rpm-ostree
Summary: Improve help for rpm-ostree
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Atomic
Classification: Retired
Component: rpm-ostree
Version: unspecified
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Colin Walters
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1147383
TreeView+ depends on / blocked
 
Reported: 2014-10-23 13:10 UTC by Ladislav Jozsa
Modified: 2015-05-07 14:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-07 14:02:45 UTC
RHEL 7.3 requirements from Atomic Host:
Embargoed:


Attachments (Terms of Use)

Description Ladislav Jozsa 2014-10-23 13:10:45 UTC
The following command outputs:

# rpm-ostree compose tree --help
usage: rpm-ostree 2014.108 compose compose COMMAND [options]
Builtin commands:
  tree
  sign

The usage line looks weird and does not help much.

Comment 1 Matthew Barnes 2015-05-07 14:02:45 UTC
Here's what it looks like now.  A little more helpful, I think.

I'm going to go ahead and close this since the bug is pretty old now.


$ rpm-ostree compose tree --help
Usage:
  rpm-ostree compose tree [OPTION...] - Run yum and commit the result to an OSTree repository

Help Options:
  -h, --help                            Show help options

Application Options:
  --add-metadata-string=KEY=VALUE       Append given key and value (in string format) to metadata
  --workdir=WORKDIR                     Working directory
  --workdir-tmpfs                       Use tmpfs for working state
  --output-repodata-dir=DIR             Save downloaded repodata in DIR
  --cachedir=CACHEDIR                   Cached state
  --force-nocache                       Always create a new OSTree commit, even if nothing appears to have changed
  -r, --repo=REPO                       Path to OSTree repository
  --add-override-pkg-repo=DIRECTORY     Include an additional package repository from DIRECTORY
  --proxy=PROXY                         HTTP proxy
  --touch-if-changed=FILE               Update the modification time on FILE if a new commit was created
  --print-only                          Just expand any includes and print treefile
  --version                             Print version information and exit


Note You need to log in before you can comment on or make changes to this bug.