dotnet-watch: add extended help to clarify usage (#218)
This commit is contained in:
parent
944e99121c
commit
c84bdb35d3
|
|
@ -27,7 +27,25 @@ namespace Microsoft.DotNet.Watcher
|
||||||
FullName = "Microsoft DotNet File Watcher",
|
FullName = "Microsoft DotNet File Watcher",
|
||||||
Out = stdout,
|
Out = stdout,
|
||||||
Error = stderr,
|
Error = stderr,
|
||||||
AllowArgumentSeparator = true
|
AllowArgumentSeparator = true,
|
||||||
|
ExtendedHelpText = @"
|
||||||
|
Remarks:
|
||||||
|
The special option '--' is used to delimit the end of the options and
|
||||||
|
the beginning of arguments that will be passed to the child dotnet process.
|
||||||
|
Its use is optional. When the special option '--' is not used,
|
||||||
|
dotnet-watch will use the first unrecognized argument as the beginning
|
||||||
|
of all arguments passed into the child dotnet process.
|
||||||
|
|
||||||
|
For example: dotnet watch -- --verbose run
|
||||||
|
|
||||||
|
Even though '--verbose' is an option dotnet-watch supports, the use of '--'
|
||||||
|
indicates that '--verbose' should be treated instead as an argument for
|
||||||
|
dotnet-run.
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
dotnet watch run
|
||||||
|
dotnet watch test
|
||||||
|
"
|
||||||
};
|
};
|
||||||
|
|
||||||
app.HelpOption("-?|-h|--help");
|
app.HelpOption("-?|-h|--help");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue