suckless linux base utils
git clone git://git.2f30.org/ubase.git
Log | Files | Refs | README | LICENSE

commit 0d09df4645e4eef556075f31290915f1f22e7c4d
parent 5bbc67aa96b094c1f8edbf6e67ccf64cded7fc3d
Author: sin <sin@2f30.org>
Date:   Tue Jun  3 16:20:57 +0100

Add hwclock(8) manpage

Makefile | 1+
hwclock.8 | 24++++++++++++++++++++++++
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -87,6 +87,7 @@ MAN8 = \ ctrlaltdel.8 \ getty.8 \ halt.8 \ + hwclock.8 \ insmod.8 \ killall5.8 \ lsmod.8 \ diff --git a/hwclock.8 b/hwclock.8 @@ -0,0 +1,24 @@ +.TH HWCLOCK 8 ubase-VERSION +.SH NAME +\fBhwclock\fR - Query or set the hardware clock +.SH SYNOPSIS +\fBhwclock\fR [\fB-rsw\fR] [\fB-u\fR] [\fIdev\fR] +.SH DESCRIPTION +\fBhwclock\fR is a tool for accessing the hardware clock. You can display +the current time, set the hardware clock from the System Time, or +set the System Time from the hardware clock. It currently only works with UTC. +You can use \fIdev\fR to specify the RTC device node absolute path. +.SH FUNCTIONS +.TP +\fB-r\fR +Read the hardware clock and print the time on stdout. +.TP +\fB-s\fR +Set the system time from the hardware clock. +.TP +\fB-w\fR +Set the hardware clock to the system time. +.SH OPTIONS +.TP +\fB-u\fR +Use UTC. This is the default and only option.