Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ jobs:

- run: |
if [ "${{ matrix.shell }}" == "default" ]; then
dotnet r build --verbose
dotnet r build -v
else
dotnet r build --verbose --script-shell "${{ matrix.shell }}"
dotnet r build -v --script-shell "${{ matrix.shell }}"
fi
shell: bash

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- added: Force color output with the `DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION` environment variable.
- Note: this tool with output color on all platforms including when output is redirected, but the dotnet cli only supports this on Unix platforms currently. This means script results might not be colored in places like GitHub Actions build logs when using the Windows VMs.
- added: Added `-v` alias to enable verbose output.
- fixed: Escape arguments for non-cmd shells
- fixed: Quote additional arguments passed after `--`
- fixed: Escape scripts with `^` passed to `cmd.exe`
Expand Down
2 changes: 1 addition & 1 deletion src/GlobalOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ public static class GlobalOptions
ArgumentHelpName = "shell",
};

public static readonly Option<bool> Verbose = new("--verbose", "Enable verbose output");
public static readonly Option<bool> Verbose = new(new[] { "-v", "--verbose" }, "Enable verbose output");
}