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

Conversation

Antiz96
Copy link
Member

@Antiz96 Antiz96 commented Aug 22, 2025

Before:

usage checkservices [options]
description: check for updated files in a service
options:
  -h: this help
  -a/-A: auto confirmation (or not) (default: 0)
  -l/-L: call (or not) systemd daemon-(reload|reexec) (default: 1)
  -f/-F: display (or not) failed services before quit (default: 1)
  -p/-P: call (or not) pacdiff before act (default: 1)
  -r/-R: restart (or not) services with updated files (default: 1)
  -s/-S: display (or not) status of restarted service (default: 1)
  -u/-U: act (or not) on services in users slice (default: 0)
  -m/-M: act (or not) on services in machine slice (default: 0)
  -z/-Z: serialize (or not) action (default: 0)
  -i 'service_name'.service: ignore a specific service (can be used multiple times)

After:

usage checkservices [options]
description: check for updated files in a service
For toggle options: lowercase enables (1), uppercase disables (0)
options:
-h: this help
-a/-A: auto confirmation (default: -A / 0)
-l/-L: call systemd daemon-(reload|reexec) (default: -l / 1)
-f/-F: display failed services before quit (default: -f / 1)
-p/-P: call pacdiff before act (default: -p / 1)
-r/-R: restart services with updated files (default: -r / 1)
-s/-S: display status of restarted service (default: -s / 1)
-u/-U: act on services in users slice (default: -U / 0)
-m/-M: act on services in machine slice (default: -M / 0)
-z/-Z: serialize action (default: -Z / 0)
-i 'service_name'.service: ignore a specific service (can be used multiple times)

Addresses part of #92

@Antiz96 Antiz96 changed the title Less confusing help message Update checkservices help message to a less confusing one Aug 22, 2025
@Antiz96 Antiz96 changed the title Update checkservices help message to a less confusing one Update checkservices help message to be less confusing Aug 22, 2025
@Foxboron Foxboron merged commit 8939767 into master Aug 22, 2025
1 check passed
@Antiz96 Antiz96 deleted the upd_checkservices_help_msg branch August 22, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants