diff options
author | Guido Guenther <agx@sigxcpu.org> | 2006-09-28 14:14:36 +0200 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2006-09-28 14:14:36 +0200 |
commit | c6074bbc5c47d87d249f5cedfce4a623a1e43157 (patch) | |
tree | d07adf528593bc9efbcd1175adaa444956a42e25 /git-buildpackage | |
parent | a14bf72962bcd06915a3876824873ee719b6700b (diff) |
git-buildpacakge: add --git-verbose
Diffstat (limited to 'git-buildpackage')
-rwxr-xr-x | git-buildpackage | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/git-buildpackage b/git-buildpackage index f59b6c12..9e841383 100755 --- a/git-buildpackage +++ b/git-buildpackage @@ -46,8 +46,13 @@ def main(argv): help="build with uncommited changes in the source tree") parser.add_option("--git-builder", dest="build_cmd", default=build_cmd, help="command to build the package e.g. default is 'debuild'") + parser.add_option("--git-verbose", action="store_true", dest="verbose", default=False, + help="verbose command execution") (options, args) = parser.parse_args(args) + if options.verbose: + Command.verbose = True + try: if not options.ignore_new: Command(options.build_cmd,['clean'])() |