You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Usage involves first reading the rest of this README, then running one of the co
17
17
18
18
/usr/local/bin/macupdate list --recommended --restart
19
19
20
-
This will display a list of all pending updates that are recommend and require a restart.
20
+
This will display a list of all pending updates that are recommended and require a restart.
21
21
22
22
## Important Difference
23
23
It is important to note the one way in which MacUpdate differs from using the `softwareupdate` binary directly, which involves the usage of the `--restart` and `--shutdown` flags.
@@ -46,6 +46,7 @@ The most useful command is `summary`, which will output a count of total, recomm
46
46
|--|--|
47
47
| json | Output results in JSON format. |
48
48
| no-scan | Do not scan for new updates, used cached results. |
49
+
| timeout | The maximum time in seconds that the softwareupdate process should be allowed to run. |
49
50
50
51
### Wait Command
51
52
This command is only useful when used in other scripting. It will wait for the given number of seconds, or when conditions are met, based on the flags given at runtime. The command can wait for the following conditions to clear:
@@ -84,7 +85,8 @@ An example of where this command is useful is when users can only access the Sof
84
85
|Flags | Purpose |
85
86
|--|--|
86
87
| json | Output results in JSON format. |
87
-
| no-scan | Do not scan for new updates, used cached results. |
88
+
| no-scan | Do not scan for new updates, used cached results. |
89
+
| timeout | The maximum time in seconds that the softwareupdate process should be allowed to download. |
88
90
| recommend | Only include recommended updates. |
89
91
| restart | Only include updates requiring a restart. |
90
92
| shutdown | Only include updates requiring a shutdown. |
@@ -104,6 +106,7 @@ Several conditions are checked to verify that it is safe to install updates:
104
106
|--|--|
105
107
| json | Output results in JSON format. |
106
108
| no-scan | Do not scan for new updates, used cached results. |
109
+
| timeout | The maximum time in seconds that the softwareupdate process should be allowed to run. |
107
110
| force | Install even if on battery power or user is logged in. |
108
111
| recommend | Only include recommended updates. |
109
112
| restart | Only include updates requiring a restart. |
@@ -116,6 +119,7 @@ Several conditions are checked to verify that it is safe to install updates:
116
119
|--|--|
117
120
| json | Output results in JSON format. |
118
121
| no-scan | Do not scan for new updates, used cached results. |
122
+
| timeout | The maximum time in seconds that the softwareupdate process should be allowed to run. |
119
123
| quiet | Displays only the name of the updates. |
120
124
| recommend | Only include recommended updates. |
121
125
| restart | Only include updates requiring a restart. |
@@ -129,6 +133,7 @@ This command is mostly redundant; the `summary` command is more useful, and can
129
133
|Flags | Purpose |
130
134
|--|--|
131
135
| no-scan | Do not scan for new updates, used cached results. |
136
+
| timeout | The maximum time in seconds that the softwareupdate process should be allowed to run. |
132
137
| quiet | Display no results, just a return code. |
133
138
| recommend | Only include recommended updates. |
134
139
| restart | Only include updates requiring a restart. |
0 commit comments