public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
* nncp-caller no longer recognizes -autotoss
@ 2021-03-04 17:49 John Goerzen
  2021-03-07 16:38 ` Sergey Matveev
  0 siblings, 1 reply; 2+ messages in thread
From: John Goerzen @ 2021-03-04 17:49 UTC (permalink / raw)
  To: nncp-devel

Hi,

In looking into why nncp-caller wasn't running after an upgrade to 
6.1.0, I noticed this:

nncp-caller[6636]: flag provided but not defined: -autotoss
nncp-caller[6636]: NNCP version 6.1.0 built with go1.14
nncp-caller[6636]: Copyright (C) 2016-2021 Sergey Matveev
nncp-caller[6636]: License GPLv3: GNU GPL version 3 
<http://gnu.org/licenses/gpl.html>
nncp-caller[6636]: This is free software: you are free to change 
and redistribute it.
nncp-caller[6636]: There is NO WARRANTY, to the extent permitted 
by law.
nncp-caller[6636]: nncp-caller -- croned NNCP TCP daemon caller
nncp-caller[6636]: Usage: /usr/local/nncp/bin/nncp-caller 
[options] [NODE ...]

Indeed, it's not listed in the nncp-caller help.  From the docs it 
LOOKS like it should still be there.

I added an autotoss: to the config and that seemed to do the 
trick.

Thanks!

- John

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: nncp-caller no longer recognizes -autotoss
  2021-03-04 17:49 nncp-caller no longer recognizes -autotoss John Goerzen
@ 2021-03-07 16:38 ` Sergey Matveev
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Matveev @ 2021-03-07 16:38 UTC (permalink / raw)
  To: nncp-devel

[-- Attachment #1: Type: text/plain, Size: 926 bytes --]

Greetings!

*** John Goerzen [2021-03-04 11:49]:
>Indeed, it's not listed in the nncp-caller help.  From the docs it LOOKS like
>it should still be there.
>I added an autotoss: to the config and that seemed to do the trick.

I removed -autotoss* options and assumed that call's configuration
should be used instead. However there is no good reason to leave both
call's configuration and -autotoss* options (and to autotossing if any
of them are set). And I really forget to mention -autotoss removing.

Anyway, I returned nncp-caller's -autotoss options back in 6.2.0.
Probably I removed them just temporarily while developing and testing
the code, but forget to return them back. So now you can set that
options both in call's configuration and through the command line
(globally for all calls).

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: CF60 E89A 5923 1E76 E263  6422 AE1A 8109 E498 57EF

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-07 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04 17:49 nncp-caller no longer recognizes -autotoss John Goerzen
2021-03-07 16:38 ` Sergey Matveev