openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 1017ce6d7f674642d8f789e6531acc11416834e9
parent ba979e47be596c484f36da9ac3cfb12affd472f9
Author: vasyahacker <vasya@magicfreedom.com>
Date:   Sun, 26 Mar 2023 08:12:55 +0400

fixes

Diffstat:
MREADME.md | 2+-
Mcmd/ii-tool/main.go | 3+--
Mman/ii-tool.1 | 8+++-----
3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md @@ -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) diff --git a/cmd/ii-tool/main.go b/cmd/ii-tool/main.go @@ -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) } diff --git a/man/ii-tool.1 b/man/ii-tool.1 @@ -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