Skip to content

Update checkservices help message to be less confusing #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions admin/checkservices
Original file line number Diff line number Diff line change
Expand Up @@ -253,17 +253,18 @@ reload_systemd() {
usage() {
echo "usage ${0##*/} [options]"
echo "description: check for updated files in a service"
echo "For toggle options: lowercase enables (1), uppercase disables (0)"
echo 'options:'
echo ' -h: this help' >&2
echo " -a/-A: auto confirmation (or not) (default: $AUTOCONFIRM)" >&2
echo " -l/-L: call (or not) systemd daemon-(reload|reexec) (default: $RELOAD)" >&2
echo " -f/-F: display (or not) failed services before quit (default: $FAILED)" >&2
echo " -p/-P: call (or not) pacdiff before act (default: $PACDIFF)" >&2
echo " -r/-R: restart (or not) services with updated files (default: $RESTART)" >&2
echo " -s/-S: display (or not) status of restarted service (default: $STATUS)" >&2
echo " -u/-U: act (or not) on services in users slice (default: $USER_SLICE)" >&2
echo " -m/-M: act (or not) on services in machine slice (default: $MACHINE_SLICE)" >&2
echo " -z/-Z: serialize (or not) action (default: $SERIALIZE)" >&2
echo " -a/-A: auto confirmation (default: -A / $AUTOCONFIRM)" >&2
echo " -l/-L: call systemd daemon-(reload|reexec) (default: -l / $RELOAD)" >&2
echo " -f/-F: display failed services before quit (default: -f / $FAILED)" >&2
echo " -p/-P: call pacdiff before act (default: -p / $PACDIFF)" >&2
echo " -r/-R: restart services with updated files (default: -r / $RESTART)" >&2
echo " -s/-S: display status of restarted service (default: -s / $STATUS)" >&2
echo " -u/-U: act on services in users slice (default: -U / $USER_SLICE)" >&2
echo " -m/-M: act on services in machine slice (default: -M / $MACHINE_SLICE)" >&2
echo " -z/-Z: serialize action (default: -Z / $SERIALIZE)" >&2
echo " -i 'service_name'.service: ignore a specific service (can be used multiple times)" >&2
exit 2
}
Expand Down