man and readme fixes

master
vasyahacker 2023-05-18 09:45:33 +04:00
parent f704996613
commit 6b29123275
3 changed files with 17 additions and 5 deletions

View File

@ -128,6 +128,7 @@ For example:
``` ```
./idecctl [-u pointfile] useradd <name> <e-mail> <password> ./idecctl [-u pointfile] useradd <name> <e-mail> <password>
``` ```
**Attention**: by default, a new user is added blocked, **set 'locked/no' in points.txt to unlock**
By default, pointfile is points.txt By default, pointfile is points.txt
@ -156,7 +157,10 @@ Where options are:
list.txt by default. list.txt by default.
-host <string> Host string for node. For ex. http://hugeping.tk. -host <string> Host string for node. For ex. http://hugeping.tk.
http://127.0.0.1:8080 by default http://127.0.0.1:8080 by default
-noreg Disable new users registration
-style path Path to /style web-directory (css/images) (default "./style")
-sys "name" Node name. "openidec" by default -sys "name" Node name. "openidec" by default
-tpl path Path to html templates (default "./tpl")
-u <points> Points file. "points.txt" by default. -u <points> Points file. "points.txt" by default.
-v Be verbose (for tracing) -v Be verbose (for tracing)
``` ```
@ -165,10 +169,12 @@ Where options are:
``` ```
./idecctl fetch http://club.syscall.ru ./idecctl fetch http://club.syscall.ru
wget http://club.syscall.ru/list.txt # for echo descriptions wget http://club.syscall.ru/list.txt # for echo descriptions
./idecd -sys "newnode" ./idecd -sys "newnode" -tpl www/tpl -style www/style
``` ```
And open http://127.0.0.1:8080 in your browser. And open http://127.0.0.1:8080 in your browser.
**Attention**: by default, a new user is added blocked, **set 'locked/no' in points.txt to unlock**
## Standarts supported ## Standarts supported
- u/e - u/e

View File

@ -89,9 +89,12 @@ idecctl [-u pointfile] useradd <name> <e-mail> <password>
By default, pointfile is points.txt By default, pointfile is points.txt
.fi .fi
.TP
.B ATTENTION!
by default, a new user is added blocked, set 'locked/no' in points.txt to unlock
.TP .TP
.B BLACKLIST MSG .B BLACKLIST MSG
idecctl [-u pointfile] useradd <name> <e-mail> <password> ./ii-tool [-db db] blacklist <MsgId>
.nf .nf
Blacklist is just new record with same id but spectial status. Blacklist is just new record with same id but spectial status.

View File

@ -77,10 +77,13 @@ http://127.0.0.1:8080/from/User/rss - From User
.SH EXAMPLES .SH EXAMPLES
Fetch db and start node: Fetch db and start node:
.nf .nf
idecctl fetch http://hugeping.tk # get database from remote node idecctl fetch http://hugeping.tk # get database from remote node
ftp http://hugeping.tk/list.txt # for echo descriptions ftp http://hugeping.tk/list.text # for echo descriptions
idecd -sys "newnode" # run node with name "newnode" idecd -sys "newnode" -tpl www/tpl -style www/style # run node with name "newnode"
.fi .fi
.SH
ATTENTION!
by default, a new user is added blocked, set 'locked/no' in points.txt to unlock
.SH SEE ALSO .SH SEE ALSO
idecctl(1), openidec(1), idecgmi(1) idecctl(1), openidec(1), idecgmi(1)
.SH AUTHOR .SH AUTHOR