|
1 | 1 | # macOS User Defaults (`user-defaults`) |
2 | | -Wrapper for macOS defaults, designed for running with admin privileges to read/write the defaults of another user. |
| 2 | +Wrapper for macOS defaults, designed for running with admin privileges to read/write the defaults of another user while properly handling permissions and reloading of defaults to reflect and apply any changes. |
3 | 3 |
|
4 | 4 | ## Usage |
5 | 5 |
|
6 | | -Usage remains the same as the native macOS defaults command, with the following additional flags: |
| 6 | +Usage remains the same as the native macOS defaults command, with the following additional flags, which may be used with a single or double dash: |
7 | 7 |
|
8 | | -| Flag | Description | |
9 | | -|------------|------------------------------------------------------------------------------------------------------| |
10 | | -| `-user` | The user to read/write the preferences with. | |
11 | | -| `-quiet` | Does not show error output or confirmations. In the case of a read command, only the value is shown. | |
12 | | -| `-force` | When writing, will ignore the existence of a Managed Preference and write the value anyway. | |
13 | | -| `-version` | Displays the version | |
| 8 | +| Flag | Description | |
| 9 | +|-----------|------------------------------------------------------------------------------------------------------| |
| 10 | +| `user` | The user to read/write the preferences with. | |
| 11 | +| `quiet` | Does not show error output or confirmations. In the case of a read command, only the value is shown. | |
| 12 | +| `force` | When writing, will ignore the existence of a Managed Preference and write the value anyway. | |
| 13 | +| `version` | Displays the version | |
14 | 14 |
|
15 | | -When using the `-user` flag, written preferences are stored in the user's library unless the domain specified is an absolute path. |
| 15 | +When using the `user` flag, written preferences are stored in the user's library unless the domain specified is an absolute path. |
16 | 16 |
|
17 | 17 | ## Additional Conveniences |
18 | 18 |
|
|
0 commit comments