Skip to content

Commit

Permalink
fix(pacman): use new Arg namedtuple
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Sep 12, 2024
1 parent 80503c1 commit fcb5b44
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pikaur/pacman.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ def get_pacman_command( # pylint: disable=too-many-branches
else:
pacman_cmd += ["--color=never"]

for short, long, _default, _help in get_pacman_str_opts():
for short, long, _default, _help, help_only in get_pacman_str_opts():
if help_only:
continue
arg = long or short
if not arg:
continue
Expand All @@ -80,7 +82,9 @@ def get_pacman_command( # pylint: disable=too-many-branches
elif short:
pacman_cmd += ["-" + short, value]

for short, long, _default, _help in PACMAN_APPEND_OPTS:
for short, long, _default, _help, help_only in PACMAN_APPEND_OPTS:
if help_only:
continue
arg = long or short
if not arg:
continue
Expand Down

0 comments on commit fcb5b44

Please sign in to comment.