From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,NICE_REPLY_A,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7770 invoked from network); 21 Dec 2020 13:29:41 -0000 Received: from ewsd.inri.net (107.191.116.128) by inbox.vuxu.org with ESMTPUTF8; 21 Dec 2020 13:29:41 -0000 Received: from mail.typed-hole.org ([199.247.9.36]) by ewsd; Mon Dec 21 08:26:45 -0500 2020 Received: from mail.typed-hole.org (localhost [127.0.0.1]) by mail.typed-hole.org (OpenSMTPD) with ESMTP id 58f3ba61 for <9front@9front.org>; Mon, 21 Dec 2020 13:26:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=typed-hole.org; h=subject :from:to:reply-to:references:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=20190925; bh=jejLcv/Qs4ZW11+nyMUBJuGFLuM=; b=cv8uutaC1iPnbgkibe/s8FNfPFPQ 3oGrtcY2+6//p01Ncqj9cNczgqhgE5yWlJ+CSW/udprcg+evjihcTah9XxTcYHkQ SckPVUEFiAbsl3lftsIg+q+isJ1lB6gM/MExMS1lQE5oCD2B3lKsL3nAr2UPmx9k 4Xz3nVfGzTt5/wRQAC0T29JEQMySq1r8+V6suiQJM0JD1z3T5cZOQ4PvWZUk0gPA OcCdYosCHX7WfFcy4O45LHZh9YHlqbIKRW98tAzoCBS0l0ZNqy/9Bu1399cnQyPG XdC+NdBttVZwEWdCTsa5W1AXN9hWRCoeoz0xL6KTgHvR9o45nJRSnwcdfg== DomainKey-Signature: a=rsa-sha1; c=nofws; d=typed-hole.org; h=subject :from:to:reply-to:references:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; q=dns; s= 20190925; b=xadc3qk3evM2rOP1hnwmA/co235/Gq1RRt/gJe8rNoK4ok0Z26Ws twv02vvDbgosWbofd1rD8XWa69szfqgn9AgIpB+2YVmMUPCgwmUCv7EtDDYmITws xV/X00rmaodZTaA2X1qAW9JHyScm+D1lCmDrdOsONeDKQdCwZyoHSNpKZqc6RxGh orxd8yJscrIlvFxxqsF7LwwLBuDTpwr7v6I/07MXvRR7UXtZIQyPrRukz4hPkpke 2/8fHML8uklKdOKzelu28yNPMv6s0JotRWPd3ncb4GY0WpiafucTif8sRxCpFm/3 xZL9Az4lMTT7S8WiQEzwQF1ATShqOjVV2g== Received: from [192.168.0.11] (87-231-19-8.rev.numericable.fr [87.231.19.8]) by mail.typed-hole.org (OpenSMTPD) with ESMTPSA id 3b2907cf (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <9front@9front.org>; Mon, 21 Dec 2020 13:26:34 +0000 (UTC) From: Julien Blanchard To: 9front@9front.org References: <5339A2736F57F4F3FE374C7552CBF8CD@typed-hole.org> Message-ID: <8143b673-4236-2af3-fe75-fcda45d36eb6@typed-hole.org> Date: Mon, 21 Dec 2020 14:26:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <5339A2736F57F4F3FE374C7552CBF8CD@typed-hole.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: non-blocking realtime solution Subject: Re: [9front] [PATCH] Fix hpost usage message Reply-To: 9front@9front.org Precedence: bulk On 18/12/2020 09:20, julien@typed-hole.org wrote: > The -r flag is not optional when sending a header. > > diff -r f020e57da8d6 rc/bin/hpost > --- a/rc/bin/hpost Thu Dec 17 20:26:38 2020 -0800 > +++ b/rc/bin/hpost Fri Dec 18 09:18:36 2020 +0100 > @@ -9,7 +9,7 @@ > l=() > > fn usage { > - echo 'usage: hpost [ -l ] [ -[gpm] action ] [ -r ] header [ -u ] url [ field:value | field@file ... ]' >[1=2] > + echo 'usage: hpost [ -l ] [ -[gpm] action ] [ -r header ] [ -u ] url [ field:value | field@file ... ]' >[1=2] > exit usage > } > Hello, just a little poke regarding this hpost usage fix.