diff options
author | Mattias Andrée <maandree@kth.se> | 2021-02-06 23:17:15 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-02-06 23:17:15 +0100 |
commit | aa9662802343154e2315a742a23301a286932a0b (patch) | |
tree | 35018534d03b5b9e5b5e3ed265f9f9111a96637a | |
parent | Fix makefile (diff) | |
download | mongoclock-3.1.tar.gz mongoclock-3.1.tar.bz2 mongoclock-3.1.tar.xz |
Update documentation3.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | README | 6 | ||||
-rw-r--r-- | mongoclock.1 | 2 | ||||
-rw-r--r-- | mongoclock.c | 2 |
3 files changed, 6 insertions, 4 deletions
@@ -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); } |