Skip to content

Commit 24dd84c

Browse files
committed
Corrects flags for WaitCommand
1 parent 9ce0a2e commit 24dd84c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,14 @@ If all conditions are clear, the exit code is 0. If one or more conditions did
6464
|Flags | Purpose |
6565
|--|--|
6666
| json | Output results in JSON format. |
67-
| no-scan | Do not scan for new updates, used cached results. |
68-
| recommend | Only include recommended updates. |
69-
| restart | Only include updates requiring a restart. |
70-
| shutdown | Only include updates requiring a shutdown. |
67+
| quiet | Suppresses output, only returns exit code. |
68+
| verbose | Shows countdown while waiting. Not applicable with JSON output. |
69+
| all | Waits for all the conditions below. |
70+
| cpu | Waits for the CPU load to be less than 1/2 the number of physical cores. |
71+
| filevault | Waits for FileVault encryption to complete. |
72+
| power | Waits for the system to be on AC power. |
73+
| screen | Waits for any screen sleep assertations to be cleared. |
74+
| user | Waits for any user logged in to the MacOS gui to log out. |
7175

7276
### Download Command
7377
Using the `download` command will cache updates for later installation using the `softwareupdate` command, similar to `softwareupdate --download` This is useful if systems cannot always access the software update server.

0 commit comments

Comments
 (0)