Skip to content

Commit 9bedefe

Browse files
authored
Merge pull request #83169 from eeckstein/fix-split-cmdline
utils: fix split-cmdline
2 parents 0337f7e + 589ff40 commit 9bedefe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

utils/dev-scripts/split-cmdline

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,11 @@ def main():
5353
continue
5454
if not first:
5555
# Print option arguments in the same line
56-
is_arg_param = is_arg_param or not arg.startswith("-")
5756
print(" " if is_arg_param else " \\\n ", end="")
5857
first = False
5958

6059
# Expand @ option files
61-
m = re.match(r"^@(\S+\.txt)$", arg)
60+
m = re.match(r"^@(\S+(\.txt|FileList))$", arg)
6261
if m:
6362
cmd_file = m.group(1)
6463
if os.path.isfile(cmd_file):

0 commit comments

Comments
 (0)