commit 0d09df4645e4eef556075f31290915f1f22e7c4d
Author: sin <[email protected]>
Date:   Tue Jun 3 16:20:57 2014 +0100

    Add hwclock(8) manpage

diff --git a/Makefile b/Makefile
index d0b6acd..a2be343 100644
--- 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
new file mode 100644
index 0000000..21b5266
--- /dev/null
+++ b/hwclock.8
@@ -0,0 +1,24 @@
+.TH HWCLOCK 8 ubase-VERSION
+.SH NAME
+BhwclockR - Query or set the hardware clock
+.SH SYNOPSIS
+BhwclockR [B-rswR] [B-uR] [IdevR]
+.SH DESCRIPTION
+BhwclockR 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 IdevR to specify the RTC device node absolute path.
+.SH FUNCTIONS
+.TP
+B-rR
+Read the hardware clock and print the time on stdout.
+.TP
+B-sR
+Set the system time from the hardware clock.
+.TP
+B-wR
+Set the hardware clock to the system time.
+.SH OPTIONS
+.TP
+B-uR
+Use UTC. This is the default and only option.


Reply via email to