aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-06 23:17:15 +0100
committerMattias Andrée <maandree@kth.se>2021-02-06 23:17:15 +0100
commitaa9662802343154e2315a742a23301a286932a0b (patch)
tree35018534d03b5b9e5b5e3ed265f9f9111a96637a
parentFix makefile (diff)
downloadmongoclock-aa9662802343154e2315a742a23301a286932a0b.tar.gz
mongoclock-aa9662802343154e2315a742a23301a286932a0b.tar.bz2
mongoclock-aa9662802343154e2315a742a23301a286932a0b.tar.xz
Update documentation3.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--README6
-rw-r--r--mongoclock.12
-rw-r--r--mongoclock.c2
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);
}