Skip to content

Commit e2a0a32

Browse files
committed
Document --singleton option
1 parent 34f02f9 commit e2a0a32

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Arguments:
1919
2020
Options:
2121
-s, --source <source> NuGet feed to check for updates. [default: https://api.nuget.org/v3/index.json]
22+
--singleton Ensure a single tool process is running.
2223
-i, --interval <interval> Time interval in seconds for the update checks. [default: 5]
2324
-f, --force Stop all running tool processes to apply updates. [default: True]
2425
-q, --quiet Do not display any informational messages.
@@ -32,8 +33,8 @@ Features:
3233
* Automatically exits if the tool also runs to completion
3334
* Forwards exit code from the tool
3435
* Restarts tool as needed to apply updates
35-
* Optionally stops all other tool running processes (for the same package id) before
36-
applying updates (`-f` option, to avoid errors when updating a running tool).
36+
* Stops all other tool running processes so updating succeeds (can be opted out with `-f=false`)
37+
* Ensures a single tool is running (`--singleton` option)
3738
* Passes all tool options verbatim (except for `evergreen` options, specified *before* the tool argument)
3839
* Automatically discovers tool *command* when it doesn't match the tool *package id*
3940
(i.e. [dotnet-eventgrid](https://www.nuget.org/packages/dotnet-eventgrid) > `eventgrid`).
@@ -43,6 +44,7 @@ Features:
4344
[evergreen]
4445
interval = 5
4546
source = https://myfeed.com/index.json
47+
singleton = true
4648
```
4749

4850

0 commit comments

Comments
 (0)