Skip to content

Commit

Permalink
Fix verbose flag passing thru
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
  • Loading branch information
andriymoroz-mlnx committed Dec 6, 2017
1 parent 5d59fe6 commit 12958e5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,8 @@ def ecn(profile, rmax, rmin, ymax, ymin, gmax, gmin, verbose):
if ymin: command += " -ymin %d" % ymin
if gmax: command += " -gmax %d" % gmax
if gmin: command += " -gmin %d" % gmin
if verbose:
click.echo(command)
run_command(command)
if verbose: command += " -vv"
run_command(command, display_cmd=verbose)

if __name__ == '__main__':
cli()

0 comments on commit 12958e5

Please sign in to comment.