Skip to content

Commit

Permalink
argparser: remove deprecated interval option (#2210)
Browse files Browse the repository at this point in the history
  • Loading branch information
lasers authored Sep 10, 2023
1 parent 669a82d commit 534cdac
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions py3status/argparsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,6 @@ def _format_action_invocation(self, action):
help="specify window manager i3 or sway",
)

# deprecations
parser.add_argument("-n", "--interval", help=argparse.SUPPRESS)

# parse options, command, etc
options = parser.parse_args()

Expand Down Expand Up @@ -195,7 +192,6 @@ def _format_action_invocation(self, action):
options.include_paths = include_paths

# defaults
del options.interval
del options.print_version
options.minimum_interval = 0.1 # minimum module update interval
options.click_events = not options.__dict__.pop("disable_click_events")
Expand Down

0 comments on commit 534cdac

Please sign in to comment.