Skip to content

Commit

Permalink
fix: aggregate/report -n params not detected as flags on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
prat0088 committed Jan 13, 2020
1 parent d80f4db commit c8e5edd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions watson/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def status(watson, project, tags, elapsed):
help="Format output in plain text (default)")
@click.option('-g/-G', '--pager/--no-pager', 'pager', default=None,
help="(Don't) view output through a pager.")
@click.option('-n', '--note', 'show_notes', default=False,
@click.option('-n', '--note', 'show_notes', default=False, is_flag=True,
help="Show frame notes in report.")
@click.pass_obj
@catch_watson_error
Expand Down Expand Up @@ -795,7 +795,7 @@ def _final_print(lines):
help="Format output in plain text (default)")
@click.option('-g/-G', '--pager/--no-pager', 'pager', default=None,
help="(Don't) view output through a pager.")
@click.option('-n', '--note', 'show_notes', default=False,
@click.option('-n', '--note', 'show_notes', default=False, is_flag=True,
help="Show frame notes in report.")
@click.pass_obj
@click.pass_context
Expand Down

0 comments on commit c8e5edd

Please sign in to comment.