9front - general discussion about 9front
 help / color / mirror / Atom feed
From: julien@typed-hole.org
To: 9front@9front.org
Subject: [9front] [PATCH] Fix hpost usage message
Date: Fri, 18 Dec 2020 09:20:48 +0100	[thread overview]
Message-ID: <5339A2736F57F4F3FE374C7552CBF8CD@typed-hole.org> (raw)

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
 }



             reply	other threads:[~2020-12-18  9:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18  8:20 julien [this message]
2020-12-21 13:26 ` Julien Blanchard
2020-12-21 13:46   ` Alex Musolino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5339A2736F57F4F3FE374C7552CBF8CD@typed-hole.org \
    --to=julien@typed-hole.org \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).