Skip to content

Commit

Permalink
Add log-tty option to pipetask
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Jul 25, 2021
1 parent a36e5a7 commit a86f21d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/lsst/ctrl/mpexec/cli/pipetask.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import click

from lsst.daf.butler.cli.butler import LoaderCLI
from lsst.daf.butler.cli.opt import log_level_option, long_log_option, log_file_option
from lsst.daf.butler.cli.opt import log_level_option, long_log_option, log_file_option, log_tty_option


class PipetaskCLI(LoaderCLI):
Expand All @@ -34,7 +34,8 @@ class PipetaskCLI(LoaderCLI):
@log_level_option()
@long_log_option()
@log_file_option()
def cli(log_level, long_log, log_file):
@log_tty_option()
def cli(log_level, long_log, log_file, log_tty):
# log_level is handled by get_command and list_commands, and is called in
# one of those functions before this is called.
pass
Expand Down

0 comments on commit a86f21d

Please sign in to comment.