Skip to content

Commit 0d6e138

Browse files
committed
filter-resx: allow more than one additional filter
1 parent 877c141 commit 0d6e138

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

filter-resx

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ and document type declarations too.)""")
99

1010
parser.add_argument("in_path")
1111
parser.add_argument("out_path")
12-
parser.add_argument("filter", nargs="?", help="Additional names to filter.",
13-
default=[])
12+
parser.add_argument("filter", nargs=argparse.REMAINDER,
13+
help="Additional names to filter.")
1414

1515
args = parser.parse_args()
1616

0 commit comments

Comments
 (0)