Skip to content

Commit

Permalink
mention click in deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Apr 15, 2021
1 parent cef43de commit 21e3587
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/click/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,14 +345,14 @@ def get_os_args():
value which is the name of the script.
.. deprecated:: 8.0
Will be removed in 8.1. Access ``sys.argv[1:]`` directly
Will be removed in Click 8.1. Access ``sys.argv[1:]`` directly
instead.
"""
import warnings

warnings.warn(
"'get_os_args' is deprecated and will be removed in 8.1. Access"
" 'sys.argv[1:]' directly instead.",
"'get_os_args' is deprecated and will be removed in Click 8.1."
" Access 'sys.argv[1:]' directly instead.",
DeprecationWarning,
stacklevel=2,
)
Expand Down

0 comments on commit 21e3587

Please sign in to comment.