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.92.3 #3 (Red Hat Linux)) id 1iyXR1-0008SK-88 for barebox@lists.infradead.org; Mon, 03 Feb 2020 08:50:24 +0000 Date: Mon, 3 Feb 2020 09:50:17 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Message-ID: <20200203085017.qjy422frw27w6ppm@pengutronix.de> References: <20200128130801.24890-1-u.kleine-koenig@pengutronix.de> <20200128130801.24890-2-u.kleine-koenig@pengutronix.de> <20200203075707.wc2q5f4isveehjuk@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200203075707.wc2q5f4isveehjuk@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/3] commands/test: Bail out on incomplete command line options To: Sascha Hauer Cc: barebox@lists.infradead.org T24gTW9uLCBGZWIgMDMsIDIwMjAgYXQgMDg6NTc6MDdBTSArMDEwMCwgU2FzY2hhIEhhdWVyIHdy b3RlOgo+IE9uIFR1ZSwgSmFuIDI4LCAyMDIwIGF0IDAyOjA3OjU5UE0gKzAxMDAsIFV3ZSBLbGVp bmUtS8O2bmlnIHdyb3RlOgo+ID4gVGhpcyBtYWtlcyB0ZXN0IGVtaXQgYW4gZXJyb3IgKGFuZCBm YWlsKSBvbiBlLmcuCj4gPiAKPiA+IAl0ZXN0IC1mCj4gCj4gdGVzdCAtZiBpbiBiYXNoIHJldHVy bnMgMCBhcyB3ZWxsIGFuZCBhbHNvIGRvZXNuJ3QgZW1pdCBhbiBlcnJvci4KCkFoLCB0aGF0J3Mg YmVjYXVzZSB0aGlzIGlzIGltcGxpY2l0bHkKCgl0ZX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