tools/hexnet: Add instructions for setting up TTY
parent
8dea1f2d31
commit
ee0ebb273c
|
@ -64,7 +64,7 @@ int main(int argc, char* argv[]) {
|
||||||
std::vector<CLI::Argument> arguments;
|
std::vector<CLI::Argument> arguments;
|
||||||
arguments.push_back(CLI::Argument("PORT", "the port to lsiten on (or connect to)"));
|
arguments.push_back(CLI::Argument("PORT", "the port to lsiten on (or connect to)"));
|
||||||
|
|
||||||
CLI::ArgumentsParser cliParser = CLI::ArgumentsParser(argc, argv, flags, options, arguments, "Arbitrary TCP/UDP connections in hex format");
|
CLI::ArgumentsParser cliParser = CLI::ArgumentsParser(argc, argv, flags, options, arguments, "Arbitrary TCP/UDP connections in hex format", "Note: Make sure your terminal is set up so it doesn't buffer input and, if desired, disable input echoing.\n\tSomething like `stty -echo cbreak` should do but it will also disable some key combinations.");
|
||||||
|
|
||||||
if (cliParser.getFlag("help").value) {
|
if (cliParser.getFlag("help").value) {
|
||||||
std::cout << cliParser.getUsage() << std::endl;
|
std::cout << cliParser.getUsage() << std::endl;
|
||||||
|
|
Loading…
Reference in New Issue