diff --git a/src/Makefile.am b/src/Makefile.am index 39f5980e42fb3f1847609f40b8fe0804af13d848..6cd2451e652d64605b0f28eab7fe4fa9ff90c858 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,7 @@ ACLOCAL_AMFLAGS = -I ../m4 libexec_PROGRAMS = knot-zcompile unittests unittests-zcompile unittests-libknot-realdata unittests-libknot sbin_PROGRAMS = knotc knotd -man_MANS=$(MANPAGES) +man8_MANS=$(MANPAGES) EXTRA_DIST=$(MANPAGES) # $(YACC) will generate header file diff --git a/src/knotc.8 b/src/knotc.8 new file mode 100644 index 0000000000000000000000000000000000000000..f2e7e40435eddbb032535700821cdc4ed0250cc6 --- /dev/null +++ b/src/knotc.8 @@ -0,0 +1,63 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4. +.TH KNOT "1" "November 2011" "Knot DNS, version 0.8" "User Commands" +.SH NAME +Knot \- manual page for Knot DNS, version 0.8 +.SH SYNOPSIS +.B knotc +[\fIparameters\fR] \fIstart|stop|restart|reload|running|compile\fR +.SH DESCRIPTION +.SS "Parameters:" +.HP +\fB\-c\fR [file], \fB\-\-config\fR=\fI[file]\fR Select configuration file. +.TP +\fB\-j\fR [num], \fB\-\-jobs\fR=\fI[num]\fR +Number of parallel tasks to run (only for 'compile'). +.TP +\fB\-f\fR, \fB\-\-force\fR +Force operation \- override some checks. +.TP +\fB\-v\fR, \fB\-\-verbose\fR +Verbose mode \- additional runtime information. +.TP +\fB\-V\fR, \fB\-\-version\fR +Print knot server version. +.TP +\fB\-w\fR, \fB\-\-wait\fR +Wait for the server to finish start/stop operations. +.TP +\fB\-i\fR, \fB\-\-interactive\fR +Interactive mode (do not daemonize). +.TP +\fB\-h\fR, \fB\-\-help\fR +Print help and usage. +.SS "Actions:" +.TP +start +Start knot server zone (no\-op if running). +.TP +stop +Stop knot server (no\-op if not running). +.TP +restart +Stops and then starts knot server. +.TP +reload +Reload knot configuration and compiled zones. +.TP +running +check if server is running. +.TP +compile +Compile zone file. +.SH "SEE ALSO" +The full documentation for +.B Knot +is maintained as a Texinfo manual. If the +.B info +and +.B Knot +programs are properly installed at your site, the command +.IP +.B info Knot +.PP +should give you access to the complete manual. diff --git a/src/knotd.8 b/src/knotd.8 new file mode 100644 index 0000000000000000000000000000000000000000..3275e9bde25692c0484d457448ce9f4103984d95 --- /dev/null +++ b/src/knotd.8 @@ -0,0 +1,35 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4. +.TH KNOT "1" "November 2011" "Knot DNS, version 0.8" "User Commands" +.SH NAME +Knot \- manual page for Knot DNS, version 0.8 +.SH SYNOPSIS +.B knotd +[\fIparameters\fR] +.SH DESCRIPTION +.SS "Parameters:" +.HP +\fB\-c\fR, \fB\-\-config\fR [file] Select configuration file. +.TP +\fB\-d\fR, \fB\-\-daemonize\fR +Run server as a daemon. +.TP +\fB\-v\fR, \fB\-\-verbose\fR +Verbose mode \- additional runtime information. +.TP +\fB\-V\fR, \fB\-\-version\fR +Print version of the server. +.TP +\fB\-h\fR, \fB\-\-help\fR +Print help and usage. +.SH "SEE ALSO" +The full documentation for +.B Knot +is maintained as a Texinfo manual. If the +.B info +and +.B Knot +programs are properly installed at your site, the command +.IP +.B info Knot +.PP +should give you access to the complete manual.