archlinux / contrib

Arch contrib scripts
GNU General Public License v2.0
63 stars 18 forks source link

Autoconfirm doesn't work #51

Closed starquake closed 2 months ago

starquake commented 2 years ago

checkservices -h says:

usage checkservices [options]
description: check for updated files in a service
options:
  -h: this help
  -c: auto confirmation
  -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)
  -z/-Z: serialize (or not) action (default: 0)

But when I do: checkservices -c it says:

/usr/bin/checkservices: illegal option -- c

I see this in the code, but it looks like it disables autoconfirm.

Antiz96 commented 2 months ago

This issue is fixed by https://github.com/archlinux/contrib/commit/8090f64ad182ed6a4b0bcbc11d2ea91425f919a4 and can be closed.