Skip to content

Commit

Permalink
Deprecate unused global --timeout option (pantsbuild#8805)
Browse files Browse the repository at this point in the history
This is unused and prevents us from using the name for other places, like `--pytest-timeout`.
  • Loading branch information
TansyArron authored and Eric-Arellano committed Dec 14, 2019
1 parent 3dc399e commit 3b3bc90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/python/pants/option/global_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,9 @@ def register_options(cls, register):
help='The maximum number of times to loop when `{}` is specified.'.format(loop_flag))

register('-t', '--timeout', advanced=True, type=int, metavar='<seconds>',
help='Number of seconds to wait for http connections.')
removal_version="1.26.0.dev2",
removal_hint="This option is not used and may be removed with no change in behavior. ",
help='Number of seconds to wait for http connections.')
# TODO: After moving to the new options system these abstraction leaks can go away.
register('-k', '--kill-nailguns', advanced=True, type=bool,
help='Kill nailguns before exiting')
Expand Down

0 comments on commit 3b3bc90

Please sign in to comment.