summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--patternutils/commands/targs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/patternutils/commands/targs.py b/patternutils/commands/targs.py
index 63955ae..5971ea2 100644
--- a/patternutils/commands/targs.py
+++ b/patternutils/commands/targs.py
@@ -49,7 +49,7 @@ def run_command(
help='Redirect stdout to /dev/null')
@click.option('--redirect-stderr', is_flag=True, default=False,
help='Redirect stderr to /dev/null')
-@click.option('--stream', if_flag=True, defaults=False,
+@click.option('--stream', is_flag=True, defaults=False,
help='Input is a stream of JSON objects')
@click.version_option()
@click.argument('command')