Heinrich Schuchardt <[email protected]> writes:

> When tools: efivar.py is called without arguments an error occurs:
>
> Traceback (most recent call last):
>   File "tools/efivar.py", line 380, in <module>
>     main()
>   File "tools/efivar.py", line 360, in main
>     args.func(args)
> AttributeError: 'Namespace' object has no attribute 'func'
>
> Show the online help if the arguments do not specify a function.
>
> Signed-off-by: Heinrich Schuchardt <[email protected]>
> ---
>  tools/efivar.py | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Reviewed-by: Paulo Alcantara (SUSE) <[email protected]>

Reply via email to