9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [PATCH] drop -m from man page
@ 2023-12-08 15:54 Thim Cederlund
  2023-12-08 19:53 ` Jacob Moody
  0 siblings, 1 reply; 2+ messages in thread
From: Thim Cederlund @ 2023-12-08 15:54 UTC (permalink / raw)
  To: 9front

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");
 }


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] [PATCH] drop -m from man page
  2023-12-08 15:54 [9front] [PATCH] drop -m from man page Thim Cederlund
@ 2023-12-08 19:53 ` Jacob Moody
  0 siblings, 0 replies; 2+ messages in thread
From: Jacob Moody @ 2023-12-08 19:53 UTC (permalink / raw)
  To: 9front

Thanks! Committed.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-08 19:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-08 15:54 [9front] [PATCH] drop -m from man page Thim Cederlund
2023-12-08 19:53 ` Jacob Moody

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).