commit | 4f6ec7754b1342ae9f9df4524fa9fa45299f3d68 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Jan 09 01:52:30 2021 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Jan 13 02:38:00 2021 +0100 |
tree | 00a1cb536a0de1025be3a3cf3b4f00251d31729b | |
parent | db12f518edb05cbb4ea2b4f2d9771dda2341cbe7 [diff] |
tools: efivar.py without arguments 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 <xypron.glpk@gmx.de> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>