Bug 408091

Summary: mock manual out of date.
Product: [Fedora] Fedora Reporter: Paulo Roma Cavalcanti <roma>
Component: mockAssignee: David Cantrell <dcantrell>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: mebrown
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-03 15:39:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paulo Roma Cavalcanti 2007-12-02 22:02:30 UTC
Description of problem:

mock manual is out of date.

Version-Release number of selected component (if applicable):

0.8.9

How reproducible:

always.

Steps to Reproduce:
1. man mock
2.
3.
  
Actual results:

SYNTAX
       mock  [options] --rebuild SRPM [SRPM...]
       mock  [options] --chroot <cmd>
       mock  [options] {--init|clean|shell}
       mock  [options] --installdeps {SRPM|RPM}
       mock  [options] --install PACKAGE

Expected results:

SYNTAX:
       mock  [options] rebuild SRPM [SRPM...]
       mock  [options] chroot <cmd>
       mock  [options] {init|clean|shell}
       mock  [options] installdeps {SRPM|RPM}
       mock  [options] install PACKAGE

Additional info:

https://www.redhat.com/archives/fedora-devel-list/2007-December/msg00099.html

Comment 1 Michael E Brown 2007-12-03 15:39:12 UTC
manpage is correct.

"mock --init" was broken in 0.8.9, but is already fixed in 0.8.11 which should
be in updates-testing this week.

"mock init" is the old-style, backwards-compatible syntax. The manpage documents
the new syntax.