Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1156043

Summary: Improve help for rpm-ostree
Product: [Retired] Atomic Reporter: Ladislav Jozsa <ljozsa>
Component: rpm-ostreeAssignee: Colin Walters <walters>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mbarnes
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-07 14:02:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1147383    

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