misc: correctly proceed to thread-deletion in rb79-delete-post
[rb-79.git] / rb79-moderate-post.1
blob88a5cb13cd86248b5ef6ef48cf9af91c0b84677c
1 .Dd 2017-05-23
2 .Dt RB79-MODERATE-POST 1
3 .Os
4 .Sh NAME
5 .Nm rb79-moderate-post
6 .Nd edit a post, sticky, or close a thread
7 .Sh SYNOPSIS
8 .Nm
9 .Fl b
10 .Ar board-name
11 .Fl p
12 .Ar post-id
13 .Oo
14 .Fl a
15 .Ar moderator-message
16 .Oc
17 .Oo
18 .Fl s
20 .Fl S
21 .Oc
22 .Oo
23 .Fl c
25 .Fl C
26 .Oc
27 .Sh DESCRIPTION
28 .Nm
29 performs rudimentary moderation on a post, either adding a warning
30 message to the post, stickying
31 .Pq or unstickying
32 or closing
33 .Pq or unclosing
34 threads.
35 .Sh OPTIONS
36 .Bl -tag -width Ds
37 .It Fl b
38 The name of the board on which the target post is present.
39 .It Fl p
40 The id of the post to moderate. If
41 .Fl s ,
42 .Fl S ,
43 .Fl c ,
45 .Fl C
46 are given, then this post must be a thread's OP.
47 .It Fl a
48 Append a message to the contents of post. The message will be
49 parenthesized and styled.
50 .It Fl s Po Fl S Pc
51 Sticky
52 .Pq unsticky
53 the thread with OP given by
54 .Ar post-id .
55 .It Fl c Po Fl C Pc
56 Close
57 .Pq unclose
58 the thread with OP given by
59 .Ar post-id .
60 .El
61 .Sh EXAMPLES
62 .Pp
63 .Dl % rb79-moderate-post -b m -p 123 -a 'User was banned for this post'
64 .Pp
65 .Dl % rb79-moderate-post -b sf -p 1 -s -c
66 .Pp
67 .Dl % rb79-moderate-post -b m -p 13489 -c -a 'None of that, now'
68 .Pp
69 .Sh SEE ALSO
70 .Xr rb79 1
71 .Sh AUTHORS
72 .An De Rais Aq Mt derais@cock.li