From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paulo Alcantara Date: Mon, 11 Jan 2021 11:12:59 -0300 Subject: [PATCH 1/1] tools: efivar.py without arguments In-Reply-To: <20210109005557.10805-1-xypron.glpk@gmx.de> References: <20210109005557.10805-1-xypron.glpk@gmx.de> Message-ID: <871rermuj8.fsf@cjr.nz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Heinrich Schuchardt writes: > When tools: efivar.py is called without arguments an error occurs: > > Traceback (most recent call last): > File "tools/efivar.py", line 380, in > 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 > --- > tools/efivar.py | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) Reviewed-by: Paulo Alcantara (SUSE)