On 03.11.21 15:57, Michael Adler wrote:
> This reduces global state and keeps the global namespace clean.
> 
> Signed-off-by: Michael Adler <[email protected]>
> ---
>  tools/bg_setenv.c | 78 ++++++++++++++++++++++-------------------------
>  1 file changed, 37 insertions(+), 41 deletions(-)
> 
> diff --git a/tools/bg_setenv.c b/tools/bg_setenv.c
> index e564219..3e5a5c3 100644
> --- a/tools/bg_setenv.c
> +++ b/tools/bg_setenv.c
> @@ -61,6 +61,16 @@ static struct argp_option options_printenv[] = {
>  struct arguments {
>       bool printenv;
>       int which_part;
> +     /* auto update feature automatically updates partition with
> +      * oldest environment revision (lowest value)
> +      */
> +     bool auto_update;
> +     bool part_specified;
> +     bool verbosity;
> +     char *envfilepath;
> +     /* whether to keep existing entries in BGENV before applying the new
> +      * settings */

Nit: different comment style, compared to above. Maybe rather use this
one consistently.

Jan

> +     bool preserve_env;
>  };
>  
>  typedef enum { ENV_TASK_SET, ENV_TASK_DEL } BGENV_TASK;

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/59163adf-6144-172e-8332-f9715513bf5c%40siemens.com.

Reply via email to