From aa9662802343154e2315a742a23301a286932a0b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 6 Feb 2021 23:17:15 +0100 Subject: Update documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 6 +++--- mongoclock.1 | 2 ++ mongoclock.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README b/README index c9d800d..ba5b862 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME mongoclock - Just a humongous clock for the terminal SYNOPSIS - mongoclock + mongoclock [-s] DESCRIPTION Type mongoclock in the terminal and it will either, @@ -22,7 +22,7 @@ DESCRIPTION OPTIONS The mongoclock utility shall conform to the Base - Definitions volume of POSIX.1‐2008, Section 12.2, + Definitions volume of POSIX.1-2008, Section 12.2, Utility Syntax Guidelines. The following options shall be supported: @@ -44,4 +44,4 @@ RATIONALE you are in a public place. SEE ALSO - watch(1) + mongotimer(1), watch(1) diff --git a/mongoclock.1 b/mongoclock.1 index 46131ff..fe1fe1c 100644 --- a/mongoclock.1 +++ b/mongoclock.1 @@ -3,6 +3,7 @@ mongoclock - Just a humongous clock for the terminal .SH SYNOPSIS .BR mongoclock +[-s] .SH DESCRIPTION Type .BR mongoclock @@ -46,6 +47,7 @@ up, opening, closing, and putting down, and you would not like to forget it when you leave if you are in a public place. .SH "SEE ALSO" +.BR mongotimer (1), .BR watch (1) .SH AUTHORS Mattias Andrée diff --git a/mongoclock.c b/mongoclock.c index b98cc67..3823b13 100644 --- a/mongoclock.c +++ b/mongoclock.c @@ -44,7 +44,7 @@ char *argv0; static void usage(void) { - fprintf(stderr, "usage: %s\n", argv0); + fprintf(stderr, "usage: %s [-s]\n", argv0); exit(1); } -- cgit v1.2.3-70-g09d2