diff options
Diffstat (limited to 'src/fedpkg.py')
-rwxr-xr-x | src/fedpkg.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py index 98d1307..3d85ac4 100755 --- a/src/fedpkg.py +++ b/src/fedpkg.py @@ -525,7 +525,10 @@ def install(args): def lint(args): try: mymodule = pyfedpkg.PackageModule(args.path) - return mymodule.lint() + info = False + if args.info: + info = args.info + return mymodule.lint(info) except pyfedpkg.FedpkgError, e: log.error('Could not run rpmlint: %s' % e) sys.exit(1) @@ -1007,6 +1010,9 @@ packages will be built sequentially. # rpmlint target parser_lint = subparsers.add_parser('lint', help = 'Run rpmlint against local build output') + parser_lint.add_argument('--info', '-i', + action = 'store_true', + help = 'Display explainations for reported messages') parser_lint.set_defaults(command = lint) # Build locally |