mirror of
https://github.com/Luzifer/arch-update.git
synced 2024-12-20 19:11:16 +00:00
Add documentation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
aea3b43872
commit
50fe433078
1 changed files with 3 additions and 0 deletions
|
@ -165,6 +165,9 @@ while getopts ":nrs" o; do
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: $0 [-nrs]" >&2
|
echo "Usage: $0 [-nrs]" >&2
|
||||||
|
echo " -n Dry-Run: Do nothing except looking for updates" >&2
|
||||||
|
echo " -r Reboot: In case packages flagged for reboot are updated, reboot after update" >&2
|
||||||
|
echo " -s Services Restart: Restart all systemd services matching updated package names" >&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue