Skip to content

Commit 598b22f

Browse files
committed
docs(users): update README
1 parent 6b624d0 commit 598b22f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

check-plugins/users/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Hints:
2626
## Help
2727

2828
```text
29-
usage: users [-h] [-V] [-c CRIT] [-w WARN]
29+
usage: users [-h] [-V] [-c CRIT] [--test TEST] [-w WARN]
3030
3131
Counts how many users are currently logged in, both via tty (on Windows:
3232
Console) and pts (on Linux: typically ssh, on Windows: RDP). Also counts the
@@ -39,6 +39,8 @@ options:
3939
in the format "3,10". On Windows, you can additionally
4040
set it for disconnected users, in the format "3,10,1".
4141
Default: [None, None, None]
42+
--test TEST For unit tests. Needs "path-to-stdout-file,path-to-
43+
stderr-file,expected-retc".
4244
-w, --warning WARN Set the warning threshold for logged in tty/pts users,
4345
in the format "1,5". On Windows, you can additionally
4446
set it for disconnected users, in the format "1,5,10".

0 commit comments

Comments
 (0)