-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #315: Can't specify --user-filter or other string-valued args
Turns out I misunderstood the use of nargs=1 in argparse: the default behavior is to consume exactly one value; if you specify nargs=1 then you get the single argument as a list containing the value rather than the value itself.
- Loading branch information
Showing
1 changed file
with
0 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters