[reprotest] 03/03: Add -v/--verbose which is a bit more popular
Ximin Luo
infinity0 at debian.org
Thu Aug 31 21:17:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository reprotest.
commit 7bee3800e82c36114571b603f7d5b21d45480dbc
Author: Ximin Luo <infinity0 at debian.org>
Date: Thu Aug 31 22:57:10 2017 +0200
Add -v/--verbose which is a bit more popular
---
README.rst | 2 +-
reprotest/__init__.py | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.rst b/README.rst
index 9ae7fb5..04faecc 100644
--- a/README.rst
+++ b/README.rst
@@ -5,7 +5,7 @@ The easiest way to run reprotest is via our presets::
# Build the current directory in a null server (/tmp)
$ reprotest .
- $ reprotest . -- null -d # for more verbose output
+ $ reprotest . -vv -- null -d # for very verbose output
# Build the given Debian source package in an schroot
# See https://wiki.debian.org/sbuild for instructions on setting that up.
diff --git a/reprotest/__init__.py b/reprotest/__init__.py
index a87fe1d..8362fc1 100644
--- a/reprotest/__init__.py
+++ b/reprotest/__init__.py
@@ -622,6 +622,8 @@ def cli_parser():
group1 = parser.add_argument_group('basic options')
group1.add_argument('--verbosity', type=int, default=0,
help='An integer. Control which messages are displayed.')
+ group1.add_argument('-v', '--verbose', dest='verbosity', action='count',
+ help='Like --verbosity, but given multiple times without arguments.')
group1.add_argument('--host-distro', default='debian',
help='The distribution that will run the tests (Default: %(default)s)')
group1.add_argument('-s', '--source-root', default=None,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git
More information about the Reproducible-commits
mailing list