9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] marshal(1): -d is also passed through to the send command
Date: Sat, 23 Jan 2021 21:39:45 -0800	[thread overview]
Message-ID: <2972FC0A78807CF02527546DE9C393BB@eigenstate.org> (raw)
In-Reply-To: <529454CADDAE1D36B213D73DD8D4FC36@arrow.hsd1.ca.comcast.net>

Quoth Michael Forney <mforney@mforney.org>:
> diff -r b4e0e1c28d06 -r 469d3301c774 sys/man/1/marshal
> --- a/sys/man/1/marshal	Sat Jan 23 13:15:17 2021 -0800
> +++ b/sys/man/1/marshal	Sat Jan 23 13:38:19 2021 -0800
> @@ -13,7 +13,7 @@
>  .B -B
>  .I copyaddr
>  ] [
> -.B -Fr#xn
> +.B -Fr#xnd
>  ] [
>  .B -S
>  .I saveto
> @@ -115,7 +115,7 @@
>  .BI -n
>  intentionally no standard input
>  .TP
> -.B -#xr
> +.B -#xrd
>  are all passed as command line options to the
>  .I send
>  that
> diff -r b4e0e1c28d06 -r 469d3301c774 sys/src/cmd/upas/marshal/marshal.c
> --- a/sys/src/cmd/upas/marshal/marshal.c	Sat Jan 23 13:15:17 2021 -0800
> +++ b/sys/src/cmd/upas/marshal/marshal.c	Sat Jan 23 13:38:19 2021 -0800
> @@ -155,7 +155,7 @@
>  void
>  usage(void)
>  {
> -	fprint(2, "usage: %s [-Fr#xn] [-s subject] [-C ccrecipient] [-t type]"
> +	fprint(2, "usage: %s [-Fr#xnd] [-s subject] [-C ccrecipient] [-t type]"
>  	    " [-aA attachment] [-p[es]] [-R replymsg] -8 | recipient-list\n",
>  		argv0);
>  	exits("usage");
> 

Debug flags usually aren't documented, and that's
also true here: there's no description of '-d' in
either the marshal or send manpages. Just listing
it without an explanation of its function is going
to be confusing.

I'd rather not commit this.

Thanks, though!


  reply	other threads:[~2021-01-24  5:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24  3:03 Michael Forney
2021-01-24  5:39 ` ori [this message]
2021-01-24  6:18   ` Michael Forney

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=2972FC0A78807CF02527546DE9C393BB@eigenstate.org \
    --to=ori@eigenstate.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).