-
Notifications
You must be signed in to change notification settings - Fork 864
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CommandLineOptions: allow quotes in @-files, e.g., for parameters con…
…taining whitespace. Parameters from @-files are no longer simply split at whitespace, but now recognize quotes (single or double quotes allowed), such that parameters can contain whitespace that are kept unmodified. Each parameter can be written as either a quoted string (single or double quotes are allowed) or a plain unquoted string. Surrounding quotes are removed from parameters when parsing. It is possible to have double quotes within a single-quoted string and vice-versa. Such internal quotes remain untouched when parsing. For simplicity, we do not handle escaped quotes.
- Loading branch information
1 parent
1b2931a
commit c6fab2f
Showing
2 changed files
with
55 additions
and
13 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
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