Skip to content

Commit

Permalink
aur-update: fix: casting to int instead of bool
Browse files Browse the repository at this point in the history
otherwise non-emtpy strings evaluate to True
-> "OPTION=0" was never working for now
  • Loading branch information
jolange committed Oct 6, 2022
1 parent c458d5c commit 81abcae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aur-update/aur-update
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ class Args(object):

args = Args()
args.add_argument('UPDATE_COLOR', 'yellow')
args.add_argument('QUIET', False, bool)
args.add_argument('QUIET', 0, int)
args.add_argument('IGNORE', [], list)
args.add_argument('CACHE_UPDATES', False, bool)
args.add_argument('CACHE_UPDATES', 0, int)
args.add_argument('FORCE_IPV4', 1, int)


Expand Down

0 comments on commit 81abcae

Please sign in to comment.