mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-07 14:11:52 +00:00
swupd has many flags that can be used for fine tunning its functionality. In some cases users may want to include a flag with every swupd command they run. This commit gives the ability to provide swupd flags via options in a configuration file that swupd will read before running the command. The configuration file is an INI style file tha can include sections so users can specify options that should only apply to a specific command. The biggest advantage of this is to be able to fine tune the flags that should apply for each command. For example a user could set a global flag that would apply to every swupd command, and then turn that flag off for a specific command by unsetting it in the command's section. Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>