pull/1/head
vasyahacker 2023-03-26 08:12:55 +04:00
parent ba979e47be
commit 1017ce6d7f
3 changed files with 5 additions and 8 deletions

View File

@ -121,7 +121,7 @@ To show last 5 messages adressed to selected user, try:
For example:
```
./ii-tool -v cc Peter -1:1 # show and print last message
./ii-tool -v -to Peter "" -1:1 # show and print last message to Peter
```
## Add user (point)

View File

@ -79,7 +79,7 @@ Commands:
fetch <url> [echofile|-] - fetch
store <bundle|-> - import bundle to database
get <msgid> - show message from database
select [[start]:lim] - get slice from echo
select <echo> [[start]:lim] - get slice from echo
index - recreate index
blacklist <msgid> - blacklist msg
useradd <name> <e-mail> <password> - adduser
@ -90,7 +90,6 @@ Options:
-t - topics only (select,get)
-from=<user> - select from
-to=<user> - select to
-echo=echo - select echo
`, os.Args[0])
os.Exit(1)
}

View File

@ -96,10 +96,9 @@ ii-tool [-u pointfile] useradd <name> <e-mail> <password>
Blacklist is just new record with same id but spectial status.
.fi
.SH EXAMPLES
.TP Get database from remote node and store to ./db
ii-tool fetch http://hugeping.tk
ii-tool fetch http://hugeping.tk
.TP
Fetch messages
echo "std.club:this comment will be omitted" | ii-tool fetch http://127.0.0.1:8080 -
@ -113,9 +112,8 @@ ii-tool select std.club 0:10
To show last 5 messages adressed to selected user (sort ids by date with sort command)
ii-tool [options] -to <user> select "" | ii-tool sort | tail -n5 | ii-tool -v sort
.TP
???Show and print last message???
ii-tool -v cc Peter -1:1
Show and print last message to Peter
ii-tool -v -to Peter "" -1:1
.SH AUTHOR
hugeping ( gl00my (at) mail.ru )
.SH SEE ALSO