Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Commit

Permalink
Update comparelibs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed Sep 13, 2018
1 parent b04236a commit 6511674
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schlib/comparelibs.py
Expand Up @@ -35,6 +35,7 @@ def ExitError( msg ):
parser.add_argument("-v", "--verbose", help="Enable extra verbose output", action="store_true")
parser.add_argument("--check", help="Perform KLC check on updated/added components", action='store_true')
parser.add_argument("--nocolor", help="Does not use colors to show the output", action='store_true')
parser.add_argument("--shownochanges", help="Show libraries that have not changed", action="store_true")

args,extra = parser.parse_known_args()

Expand Down Expand Up @@ -111,7 +112,7 @@ def KLCCheck(lib, component):

# If library checksums match, we can skip entire library check
if new_lib.compareChecksum(old_lib):
if args.verbose:
if args.verbose and args.shownochanges:
printer.yellow("No changes to library '{lib}'".format(lib=lib_name))
continue

Expand Down

0 comments on commit 6511674

Please sign in to comment.