-
Notifications
You must be signed in to change notification settings - Fork 0
/
fblog.1
126 lines (126 loc) · 2.86 KB
/
fblog.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
.TH FBLOG "1" "March 2016" "fBlog 0.6.1" "User Commands"
.SH NAME
fBlog \- manual page for fBlog 0.6.1
.SH SYNOPSIS
.B fblog
[\fI\,path\/\fR]
.br
.B fblog
[\fI\,option\/\fR] [\fI\,path\/\fR]
.SH DESCRIPTION
`fBlog' generates static web pages.
.SS "Interactive mode:"
.IP
Type `fblog' without option.
.SH OPTIONS
.TP
\fB\-a\fR, \fB\-\-add\-post\fR
add a post
.TP
\fB\-c\fR, \fB\-\-config\fR
setting of the blog
.TP
\fB\-\-create\fR
create a new blog
.TP
\fB\-\-delete\-post\fR=\fI\,NUMBER\/\fR
delete a post (NUMBER= rank of the post)
.TP
\fB\-\-delete\-page\fR=\fI\,FILE\/\fR
delete a page (FILE= page filename)
.TP
\fB\-\-delete\-css\fR=\fI\,FILE\/\fR
delete a style sheet (FILE= CSS filename)
.TP
\fB\-\-edit\-post\fR=\fI\,NUMBER\/\fR
edit a post (NUMBER= rank of the post)
.TP
\fB\-\-edit\-css\fR=\fI\,FILE\/\fR
edit a style sheet (FILE= CSS filename)
.TP
\fB\-\-edit\-page\fR=\fI\,FILE\/\fR
edit a page (FILE= page filename)
.TP
\fB\-h\fR, \fB\-\-help\fR
display this help and exit
.TP
\fB\-L\fR, \fB\-\-list\-all\fR
display all posts in reverse chronological order
.TP
\fB\-l\fR, \fB\-\-list\-last\fR
display last posts in reverse chronological order
.TP
\fB\-\-list\-css\fR
display avalaible style sheets
.TP
\fB\-\-list\-pages\fR
display avalaible pages
.TP
\fB\-u\fR, \fB\-\-update\fR
update the weblog
.TP
\fB\-v\fR, \fB\-\-version\fR
give version of program
.PP
(The rank of a post is given by the options `\-l' and `\-L'; or, looking at the
weblog, at the bottom of the posted entry, close to the date. The newest post
get the rank `1' and the oldest one holds the amount of total posted entries.)
.SS "Exit status:"
.IP
0: ok, 1: failed
.SH ENVIRONMENT
.TP
\fB\-EDITOR\fR
user's prefered text editor (default is 'vi')
.TP
\fB\-LANG\fR
user's language (default is English)
.SH FILES
.TP
\-./fBlog/fblog.conf
the configuration file
.SH EXAMPLES
.TP
\-`fblog'
run in interactive mode (in the curent directory)
.TP
\-`fblog foo/bar'
run in interactive mode
(in the directory `./foo/bar')
.SS "Command-line mode:"
.IP
Type `fblog' with only one option (and path if any)
.TP
\-`fblog \-\-create'
build a new weblog
.TP
\-`fblog \-a'
add a new post
.TP
\-`fblog \-\-edit\-post=2'
modify the second most recent post
.TP
\-`fblog \-\-edit\-page=foo.html'
create (or modify) a static page named `foo.html'
.TP
\-`fblog \-u'
generate the web site into `./fBlog/export_http'
.TP
\-`fblog \-u foo/bar'
generate the web site into
`./foo/bar/fBlog/export_http'
.TP
\-`EDITOR=nano fblog'
use text editor `nano'
.SH AUTHOR
Written by Denis Bernard.
.SH "REPORTING BUGS"
Report fBlog bugs to <deber@users.sf.net>
.SH COPYRIGHT
Copyright (C) 2016 Denis Bernard
.PP
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.