Add insmod manpage and fix insmod usage

This commit is contained in:
sin 2014-04-12 14:30:56 +01:00
parent 7687d7f7d1
commit 3c1d1368d2
2 changed files with 11 additions and 1 deletions

10
insmod.8 Normal file
View File

@ -0,0 +1,10 @@
.TH INSMOD 8 ubase-VERSION
.SH NAME
\fBinsmod\fR - Insert a module into the Linux kernel
.SH SYNOPSIS
\fBinsmod\fR filename [\fIargs...\fR]
.SH DESCRIPTION
\fBinsmod\fR inserts a module into the kernel. It does not handle
module dependencies.
.SH SEE ALSO
rmmod(8), lsmod(8)

View File

@ -11,7 +11,7 @@
static void static void
usage(void) usage(void)
{ {
eprintf("usage: %s module [args]\n", argv0); eprintf("usage: %s filename [args...]\n", argv0);
} }
int int