@@ -74,7 +74,7 @@ int main(int argc, char** argv)
74
74
(" email-ca" , boost::program_options::value<std::string>()->default_value (" " )," path to the email Certification Authority" )
75
75
(" punch-hops" , boost::program_options::value<uint16_t >()->default_value (7 )," time-to-live parameter for the punch packet" )
76
76
(" exec-command" , boost::program_options::value<std::string>()->required ()," command executed after punching the NAT" )
77
- (" 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%" )
77
+ (" 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%" )
78
78
(" exec-pwd" , boost::program_options::value<std::string>()->default_value (" " )," working directory for executable, the above wildcards are allowed" )
79
79
(" exec-log" , boost::program_options::value<std::string>()->default_value (" " )," exec log file, the above wildcards are allowed" )
80
80
(" log-level" , boost::program_options::value<wormhole::log::severity>()->default_value (wormhole::log::info)," log level: <fatal|error|warning|info|debug|trace>" )