From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128666 invoked by alias); 4 Feb 2019 12:09:48 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 128654 invoked by uid 89); 4 Feb 2019 12:09:48 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com From: Florian Weimer To: Matthew Malcomson Cc: "libc-alpha\@sourceware.org" , nd Subject: Re: [Patch] [Makefile] Exit if provided an incorrect argument References: <875zuq6xv9.fsf@oldenburg2.str.redhat.com> Date: Mon, 04 Feb 2019 12:09:00 -0000 In-Reply-To: (Matthew Malcomson's message of "Tue, 15 Jan 2019 10:33:16 +0000") Message-ID: <87ftt3sqk8.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-02/txt/msg00074.txt.bz2 * Matthew Malcomson: > On 15/01/19 10:03, Florian Weimer wrote: >> * Matthew Malcomson: >> >>> --- a/Makefile >>> +++ b/Makefile >>> @@ -148,6 +148,7 @@ while test $$# -gt 0 ; do >>> ;; >>> --*) >>> usage >>> + exit 1 >>> ;; >>> *) >>> break >> I think you should add the exit to the usage function. >> >> Thanks, >> Florian > > Makes sense -- thanks! > Fixed patch attached. Thanks, pushed. Florian