- All options and subcommands are automatically generated from help messages.
- Used `_init_completion` to set $cur, $prev, $words variables, which are
equivalent to $2, $3, $COMP_WORD, but far more readable.
- It also allows possibility to use other functions provided in
`/usr/share/bash-completion/bash_completion`, for future
- A minor change on getting current OS version via `swupd info --quiet` from
reading `/var/lib/swupd/version`, which is non-readable to non-root users
- Though MoM file is still non-readable to non-root users
- We only ship modern Bash, so the test on Bash version near the end of the
script is removed
Swupd Client
swupd is an OS-level software update program that applies updates to a Clear Linux OS. More information on how to use swupd can be found in the official documentation, swupd command man page and other documents on docs directory.
Reporting problems
Use github issue report tool (https://github.com/clearlinux/swupd-client/issues) to report bugs, issues and feature requests.
To help us to reproduce a bug reported, please attach the swupd command line, the command output, swupd version ('swupd -v' output) and clear linux version ('swupd info' output).
For other questions, contact us in Clear Linux mailing list (dev@lists.clearlinux.org) or IRC channel ( #clearlinux on Freenode).
How to contribute
Swupd client is open for contributions, so we are more than willing to review your patches! For more information take a look on the how to contribute guide
Reporting Security Concerns
If you have discovered potential security vulnerability in Swupd, please visit https://01.org/security for best practices on reporting security issues and to report your concern.