From 7e19b92adb937297987ac7f7b20f19c54f6cdd78 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 3 Mar 2008 18:23:29 +0000 Subject: fixed param short code collision --- anyctrOptions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'anyctrOptions.cpp') diff --git a/anyctrOptions.cpp b/anyctrOptions.cpp index 3513857..54021d3 100644 --- a/anyctrOptions.cpp +++ b/anyctrOptions.cpp @@ -147,7 +147,7 @@ bool Options::parse(int argc, char* argv[]) PARSE_SCALAR_PARAM("-m","--mux", mux_) PARSE_SCALAR_PARAM("-l","--prefix-len", network_prefix_length_) PARSE_HEXSTRING_PARAM("-K","--key", key_) - PARSE_HEXSTRING_PARAM("-a","--salt", salt_) + PARSE_HEXSTRING_PARAM("-A","--salt", salt_) PARSE_SCALAR_PARAM("-k","--kd-prf", kd_prf_) else return false; @@ -178,7 +178,7 @@ void Options::printUsage() std::cout << " [-m|--mux] the multiplex id to use" << std::endl; std::cout << " [-l|--prefix-len] network prefix length" << std::endl; std::cout << " [-K|--key] master key to use for encryption" << std::endl; - std::cout << " [-a|--salt] master salt to use for encryption" << std::endl; + std::cout << " [-A|--salt] master salt to use for encryption" << std::endl; std::cout << " [-k|--kd-prf] key derivation pseudo random function" << std::endl; } -- cgit v1.2.3