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.0 required=5.0 tests=RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11773 invoked from network); 17 Dec 2020 10:33:02 -0000 Received: from ewsd.inri.net (107.191.116.128) by inbox.vuxu.org with ESMTPUTF8; 17 Dec 2020 10:33:02 -0000 Received: from vultr.musolino.id.au ([45.76.123.158]) by ewsd; Thu Dec 17 05:31:08 -0500 2020 Received: from 58.170.131.8 ([58.170.131.8]) by vultr; Thu Dec 17 21:30:05 +1100 2020 Message-ID: From: Alex Musolino Date: Thu, 17 Dec 2020 21:00:04 +1030 To: 9front@9front.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: anonymous private XMPP storage storage interface Subject: Re: [9front] [PATCH] Update hpost to use -r header like hget Reply-To: 9front@9front.org Precedence: bulk > fn usage { > - echo 'usage: hpost [ -l ] [ -[gpm] action ] [ -u ] url [ field:value | > field@file ... ]' >[1=2] > + echo 'usage: hpost [ -l ] [ -[gpm] action ] [ -r ] headers [ -u ] url > [ field:value | field@file ... ]' >[1=2] > exit usage > } I think this bit should be: fn usage { - echo 'usage: hpost [ -l ] [ -[gpm] action ] [ -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 } This matches the man page and the usage string from hget(1). Also, it wouldn't hurt to amend the man page to mention that the -r option can be repeated. -- Cheers, Alex Musolino