summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2011-01-21 09:45:42 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2011-01-21 11:07:02 +0100
commitbcb9dd7f050c0ff52833fe3feb745365947ab4d2 (patch)
tree29956b51bb881d28aa111f912de60f3e79353e52
parent952eb4fc9a83e8e908c542982ce3f84f6a207910 (diff)
downloadfedora-packager-4/document-local-target.zip
fedora-packager-4/document-local-target.tar.gz
fedora-packager-4/document-local-target.tar.xz
Document that "fedpkg local" logs to file4/document-local-target
https://fedorahosted.org/fedora-packager/ticket/64
-rwxr-xr-xsrc/fedpkg.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index dbae1a8..2fc5e5c 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -1056,7 +1056,14 @@ packages will be built sequentially.
# Build locally
parser_local = subparsers.add_parser('local',
- help = 'Local test rpmbuild binary')
+ help = 'Local test rpmbuild binary',
+ formatter_class = argparse.RawDescriptionHelpFormatter,
+ description=textwrap.dedent("""\
+ Locally test run of rpmbuild producing binary RPMs.
+
+ The rpmbuild output will be logged into a file named
+ .build-%{version}-%{release}.log
+ """))
parser_local.add_argument('--arch', help = 'Build for arch')
# optionally define old style hashsums
parser_local.add_argument('--md5', action = 'store_true',