Skip to content
Commit 4f5daa7c authored by Devaraj Ranganna's avatar Devaraj Ranganna
Browse files

tools: Add short options to build and run scripts



VS Code tasks configuration used for automating building and debugging,
doesn't support optional arguments.

One of the possible solutions is to pass both `command-line option`
(--toolchain) and `value` (GNU) as VS Code tasks `promptString`, but a
space must be added between `command-line option` and `value`. VS Code
encapsulates this `promptString` with a space in double quotes causing
shell not recognising this as a valid command-line option.

Other solution is to introduce a short `command-line option`
(-T, toolchain), so that both `command-line option` and `value` can be
passed in a `promptString` without space. If this is an optional
argument, then an empty string can be passed as `promptString`.

Signed-off-by: Devaraj Ranganna's avatarDevaraj Ranganna <devaraj.ranganna@arm.com>
parent ad0f66bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment