@@ -253,17 +253,18 @@ reload_systemd() {
253
253
usage () {
254
254
echo " usage ${0##*/ } [options]"
255
255
echo " description: check for updated files in a service"
256
+ echo " For toggle options: lowercase enables (1), uppercase disables (0)"
256
257
echo ' options:'
257
258
echo ' -h: this help' >&2
258
- echo " -a/-A: auto confirmation (or not) ( default: $AUTOCONFIRM )" >&2
259
- echo " -l/-L: call (or not) systemd daemon-(reload|reexec) (default: $RELOAD )" >&2
260
- echo " -f/-F: display (or not) failed services before quit (default: $FAILED )" >&2
261
- echo " -p/-P: call (or not) pacdiff before act (default: $PACDIFF )" >&2
262
- echo " -r/-R: restart (or not) services with updated files (default: $RESTART )" >&2
263
- echo " -s/-S: display (or not) status of restarted service (default: $STATUS )" >&2
264
- echo " -u/-U: act (or not) on services in users slice (default: $USER_SLICE )" >&2
265
- echo " -m/-M: act (or not) on services in machine slice (default: $MACHINE_SLICE )" >&2
266
- echo " -z/-Z: serialize (or not) action (default: $SERIALIZE )" >&2
259
+ echo " -a/-A: auto confirmation (default: -A / $AUTOCONFIRM )" >&2
260
+ echo " -l/-L: call systemd daemon-(reload|reexec) (default: -l / $RELOAD )" >&2
261
+ echo " -f/-F: display failed services before quit (default: -f / $FAILED )" >&2
262
+ echo " -p/-P: call pacdiff before act (default: -p / $PACDIFF )" >&2
263
+ echo " -r/-R: restart services with updated files (default: -r / $RESTART )" >&2
264
+ echo " -s/-S: display status of restarted service (default: -s / $STATUS )" >&2
265
+ echo " -u/-U: act on services in users slice (default: -U / $USER_SLICE )" >&2
266
+ echo " -m/-M: act on services in machine slice (default: -M / $MACHINE_SLICE )" >&2
267
+ echo " -z/-Z: serialize action (default: -Z / $SERIALIZE )" >&2
267
268
echo " -i 'service_name'.service: ignore a specific service (can be used multiple times)" >&2
268
269
exit 2
269
270
}
0 commit comments