patch from henry to improve commandline info

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6550 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-08-02 18:27:50 +00:00
parent 3f86a707b7
commit f27b2368ab

View File

@ -243,9 +243,13 @@ int main(int argc, char **argv)
}
std::cerr << "Usage: ./retroshare-nogui -S [port] -L <username> -P " << pwdHashRadix64;
std::cerr << "Usage:";
std::cerr << std::endl;
exit(1);
std::cerr << " - for SSH access: ./retroshare-nogui -S [port] -L <username> -P " << pwdHashRadix64;
std::cerr << std::endl;
std::cerr << " - for RPC access: ./retroshare-nogui -C -S [port] -L <username> -P " << pwdHashRadix64;
std::cerr << std::endl;
exit(0);
}