Skip to content

Commit

Permalink
set default value for --exec-args argument
Browse files Browse the repository at this point in the history
  • Loading branch information
novemus committed Aug 7, 2024
1 parent 64baf91 commit 982efdf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
plexus (3.1-2+deb12u3) unstable; urgency=low

* - Set default value to --exec-args argument.

-- Novemus Band <nineletters@mail.ru> Thu, 8 Aug 2024 00:07:00 +0300

plexus (3.1-1+deb12u3) unstable; urgency=low

* - The ability to use DHT as the rendezvous.
Expand Down
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ int main(int argc, char** argv)
("email-ca", boost::program_options::value<std::string>()->default_value(""), "path to the email Certification Authority")
("punch-hops", boost::program_options::value<uint16_t>()->default_value(7), "time-to-live parameter for the punch packet")
("exec-command", boost::program_options::value<std::string>()->required(), "command executed after punching the NAT")
("exec-args", boost::program_options::value<std::string>()->default_value(""), "arguments for the command executed after punching the NAT, allowed wildcards: %innerip%, %innerport%, %outerip%, %outerport%, %peerip%, %peerport%, %secret%, %hostpin%, %peerpin%, %hostemail%, %peeremail%")
("exec-args", boost::program_options::value<std::string>()->default_value("%innerip% %innerport% %outerip% %outerport% %peerip% %peerport%"), "arguments for the command executed after punching the NAT, allowed wildcards: %innerip%, %innerport%, %outerip%, %outerport%, %peerip%, %peerport%, %secret%, %hostpin%, %peerpin%, %hostemail%, %peeremail%")
("exec-pwd", boost::program_options::value<std::string>()->default_value(""), "working directory for executable, the above wildcards are allowed")
("exec-log", boost::program_options::value<std::string>()->default_value(""), "exec log file, the above wildcards are allowed")
("log-level", boost::program_options::value<wormhole::log::severity>()->default_value(wormhole::log::info), "log level: <fatal|error|warning|info|debug|trace>")
Expand Down

0 comments on commit 982efdf

Please sign in to comment.