From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ds6iH-0007Yr-Lx for barebox@lists.infradead.org; Wed, 13 Sep 2017 12:24:23 +0000 From: Enrico Jorns Date: Wed, 13 Sep 2017 14:23:27 +0200 Message-Id: <20170913122332.17585-1-ejo@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 0/5] Fixes for nv command handling To: barebox@lists.infradead.org Cc: Enrico Jorns This series adds a couple of fixes and enhancement in option parsing and error handling for the 'nv' command. Enrico Jorns (5): commands: nv: argc cannot be < 1 commands: nv: call nvvar_print() only if no argument is given commands: nv: assure error code will be returned when an error occurred commands: nv: fail if required var arguments are missing common: globvar: let nvvar_remove() report non-existing variable commands/nv.c | 31 ++++++++++++++++++++++--------- common/globalvar.c | 4 +++- 2 files changed, 25 insertions(+), 10 deletions(-) -- 2.11.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox