- Fixed Command description with sed. Thanks to Yaroslav Halchenko

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@353 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.x
Cyril Jaquier 2006-09-12 21:59:32 +00:00
parent 1d9bc1152d
commit 96297b7cf3
5 changed files with 12 additions and 12 deletions

View File

@ -1,12 +1,12 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
.TH FAIL2BAN-CLIENT "1" "September 2006" "fail2ban-client v0.7.2" "User Commands" .TH FAIL2BAN-CLIENT "1" "September 2006" "fail2ban-client v0.7.2-SVN" "User Commands"
.SH NAME .SH NAME
fail2ban-client \- configure and control the server fail2ban-client \- configure and control the server
.SH SYNOPSIS .SH SYNOPSIS
.B fail2ban-client .B fail2ban-client
[\fIOPTIONS\fR]... \fI<COMMAND>\fR [\fIOPTIONS\fR]... \fI<COMMAND>\fR
.SH DESCRIPTION .SH DESCRIPTION
Fail2Ban v0.7.2 reads log file that contains password failure report Fail2Ban v0.7.2\-SVN reads log file that contains password failure report
and bans the corresponding IP addresses using firewall rules. and bans the corresponding IP addresses using firewall rules.
.SH OPTIONS .SH OPTIONS
.TP .TP
@ -34,7 +34,6 @@ display this help message
\fB\-V\fR, \fB\-\-version\fR \fB\-V\fR, \fB\-\-version\fR
print the version print the version
.SH COMMAND .SH COMMAND
.SS "Command:"
.TP .TP
start start
start the server and the jails start the server and the jails

View File

@ -4,9 +4,6 @@ $Id: $
[name] [name]
fail2ban-client \- configure and control the server fail2ban-client \- configure and control the server
/print the version/
.SH COMMAND
[files] [files]
\fI/etc/fail2ban/*\fR \fI/etc/fail2ban/*\fR

View File

@ -1,12 +1,12 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
.TH FAIL2BAN-SERVER "1" "September 2006" "fail2ban-server v0.7.2" "User Commands" .TH FAIL2BAN-SERVER "1" "September 2006" "fail2ban-server v0.7.2-SVN" "User Commands"
.SH NAME .SH NAME
fail2ban-server \- start the server fail2ban-server \- start the server
.SH SYNOPSIS .SH SYNOPSIS
.B fail2ban-server .B fail2ban-server
[\fIOPTIONS\fR] [\fIOPTIONS\fR]
.SH DESCRIPTION .SH DESCRIPTION
Fail2Ban v0.7.2 reads log file that contains password failure report Fail2Ban v0.7.2\-SVN reads log file that contains password failure report
and bans the corresponding IP addresses using firewall rules. and bans the corresponding IP addresses using firewall rules.
.PP .PP
Only use this command for debugging purpose. Start the server with Only use this command for debugging purpose. Start the server with
@ -22,8 +22,11 @@ start in foreground
\fB\-x\fR \fB\-x\fR
force execution of the server force execution of the server
.TP .TP
\fB\-h\fR \fB\-h\fR, \fB\-\-help\fR
display this help message display this help message
.TP
\fB\-V\fR, \fB\-\-version\fR
print the version
.SH FILES .SH FILES
\fI/etc/fail2ban/*\fR \fI/etc/fail2ban/*\fR
.SH AUTHOR .SH AUTHOR

View File

@ -4,9 +4,6 @@ $Id: $
[name] [name]
fail2ban-server \- start the server fail2ban-server \- start the server
/print the version/
.SH COMMAND
[files] [files]
\fI/etc/fail2ban/*\fR \fI/etc/fail2ban/*\fR

View File

@ -1,5 +1,9 @@
#!/bin/bash #!/bin/bash
# fail2ban-client
help2man --section=1 --no-info --include=fail2ban-client.h2m --output fail2ban-client.1 ../fail2ban-client help2man --section=1 --no-info --include=fail2ban-client.h2m --output fail2ban-client.1 ../fail2ban-client
sed -i -e 's/.SS "Command:"/.SH COMMAND/' fail2ban-client.1
# fail2ban-server
help2man --section=1 --no-info --include=fail2ban-server.h2m --output fail2ban-server.1 ../fail2ban-server help2man --section=1 --no-info --include=fail2ban-server.h2m --output fail2ban-server.1 ../fail2ban-server