From: "Thim Cederlund" <thim@cederlund.de>
To: 9front@9front.org
Subject: [9front] [PATCH] drop -m from man page
Date: Fri, 08 Dec 2023 16:54:53 +0100 [thread overview]
Message-ID: <3LVBWXI6WJJ63.20GTHGTTB4MVJ@openbsd> (raw)
Hi,
First timer here. I noticed that the man page for date(1) as well as
the executable itself refers to a `-m` flag which doesn't exist
anymore.
Looking at the git/log of /sys/src/cmd/date.c I noticed this commit:
Hash: 2af46e406bbd443ae10025777247798a685afc3c
Author: Ori Bernstein <ori@eigenstate.org>
Date: Fri Aug 13 03:27:17 +0200 2021
date: remove '-m' flag
It's only ever been used by git, and is obsoleted
by 'date -f'. Remove it.
So it's safe to say it's gone.
Best Regards,
Thim Cederlund
diff 8d9a4e15029b23e367b5ae6a399f22e4cf5f0c9f uncommitted
--- a/sys/man/1/date
+++ b/sys/man/1/date
@@ -4,7 +4,7 @@
.SH SYNOPSIS
.B date
[
-.I -unitm
+.I -unit
] [
.B -f
.I format
--- a/sys/src/cmd/date.c
+++ b/sys/src/cmd/date.c
@@ -8,7 +8,7 @@
void
usage(void)
{
- fprint(2, "usage: date [-itunm] [-f fmt] [seconds]\n");
+ fprint(2, "usage: date [-itun] [-f fmt] [seconds]\n");
exits("usage");
}
next reply other threads:[~2023-12-08 19:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-08 15:54 Thim Cederlund [this message]
2023-12-08 19:53 ` Jacob Moody
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=3LVBWXI6WJJ63.20GTHGTTB4MVJ@openbsd \
--to=thim@cederlund.de \
--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).