Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 289727 Details for
Bug 425860
[PATCH] Add some option aliases, document some existing ones
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add some option aliases, man page improvements
mock-doc.patch (text/plain), 4.66 KB, created by
Ville Skyttä
on 2007-12-16 20:23:31 UTC
(
hide
)
Description:
Add some option aliases, man page improvements
Filename:
MIME Type:
Creator:
Ville Skyttä
Created:
2007-12-16 20:23:31 UTC
Size:
4.66 KB
patch
obsolete
>diff --git a/docs/mock.1 b/docs/mock.1 >index 4afde95..d6bc0c6 100644 >--- a/docs/mock.1 >+++ b/docs/mock.1 >@@ -44,7 +44,7 @@ COMMANDS section, below, for detailed listing of all commands. > .SH "OPTIONS" > .LP > .TP >-\fB\-r\fR \fICHROOT\fP >+\fB\-r\fR \fICHROOT\fP, \fB\-\-root\fR=\fICHROOT\fP > Uses specified chroot configuration as defined in > /etc/mock/<\fIchroot\fP>.cfg. If none specified, uses the chroot linked > to by /etc/mock/default.cfg >@@ -59,12 +59,12 @@ Do not clean chroot before building package. > Clean chroot after building. Use with \-\-resultdir. Only active for '\-\-rebuild'. > .TP > \fB\-\-no\-cleanup\-after\fR >-Dont clean chroot after building. If automatic cleanup is enabled, use this to disable. >+Don't clean chroot after building. If automatic cleanup is enabled, use this to disable. > .TP >-\fB\-\-arch=\fR\fIARCH\fP >+\fB\-\-target=\fR\fIARCH\fP, \fB\-\-arch=\fR\fIARCH\fP > Specify target build arch. > .TP >-\fB\-\-define=\fR"\fIMACRO EXPR\fP" >+\fB\-D \fR"\fIMACRO EXPR\fP", \fB\-\-define=\fR"\fIMACRO EXPR\fP" > Specify macro definitions used for the build. This option may be used multiple times, just as the rpmbuild \-\-define option can be. For example: > > \fB\-\-define "with_extra_cheese 1" \-\-define="packager Monkey"\fR >@@ -72,12 +72,12 @@ Specify macro definitions used for the build. This option may be used multiple > \fB\-\-with=\fR\fIOPTION\fP > Enable configure OPTION for build. This option may be used multiple times. For example: > >-\fB\-\-with extra_cheese\fR >+\fB\-\-with=extra_cheese\fR > .TP > \fB\-\-without=\fR\fIOPTION\fP > Disable configure OPTION for build. This option may be used multiple times. For example: > >-\fB\-\-without anchovies\fR >+\fB\-\-without=anchovies\fR > .TP > \fB\-\-resultdir=\fR\fIRESULTDIR\fP > Change directory where resulting files (RPMs and build logs) are written. Resultdir can contain python-string substitutions for any variable in the chroot config. For example: >@@ -93,7 +93,16 @@ Change directory where config files are found > \fB\-\-rpmbuild_timeout=\fR\fISECONDS\fP > Fail build if rpmbuild takes longer than 'timeout' seconds > .TP >-\fB\-\-help\fR >+\fB\-q\fR, \fB\-\-quiet\fR >+Be quiet. >+.TP >+\fB\-v\fR, \fB\-\-verbose\fR >+Output verbose progress information. >+.TP >+\fB\-\-trace\fR >+TODO: document me >+.TP >+\fB\-h\fR, \fB\-\-help\fR > Show usage information and exit. > .TP > \fB\-\-version\fR >@@ -126,7 +135,7 @@ Do a yum install PACKAGE inside the buildroot. Buildroot must already be initial > Do a yum update inside the buildroot. Buildroot must already be initialized -- no 'clean' is performed > .TP > \fB\-\-orphanskill\fP >-Noop mode that simply checks that no stray processes are running in the chroot. Kills any processes that it finds using specified root. >+No-op mode that simply checks that no stray processes are running in the chroot. Kills any processes that it finds using specified root. > .TP > \fB\-\-copyin\fP > Copies the source paths (files or directory trees) into the chroot at >diff --git a/py/mock.py b/py/mock.py >index a560c89..52d0dcd 100755 >--- a/py/mock.py >+++ b/py/mock.py >@@ -106,7 +106,7 @@ def command_parse(config_opts): > help="Copy file(s) from the specified chroot") > > # options >- parser.add_option("-r", action="store", type="string", dest="chroot", >+ parser.add_option("-r", "--root", action="store", type="string", dest="chroot", > help="chroot name/config file name default: %default", > default='default') > >@@ -124,9 +124,9 @@ def command_parse(config_opts): > dest="cleanup_after", default=None, > help="Dont clean chroot after building. If automatic" > " cleanup is enabled, use this to disable.", ) >- parser.add_option("--arch", action ="store", dest="arch", >+ parser.add_option("--target", "--arch", action ="store", dest="arch", > default=None, help="target build arch") >- parser.add_option("--define", action="append", dest="rpmmacros", >+ parser.add_option("-D", "--define", action="append", dest="rpmmacros", > default=[], type="string", metavar="'MACRO EXPR'", > help="define an rpm macro (may be used more than once)") > parser.add_option("--with", action="append", dest="rpmwith", >@@ -155,7 +155,7 @@ def command_parse(config_opts): > parser.add_option("-q", "--quiet", action="store_const", const=0, > dest="verbose", help="quiet build") > parser.add_option("--trace", action="store_true", default=False, >- dest="trace", help="quiet build") >+ dest="trace", help="TODO: document me") > > # plugins > parser.add_option("--enable-plugin", action="append",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 425860
: 289727