diff options
author | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-03-21 17:15:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-03-21 17:15:56 +0000 |
commit | f88831fb8df34730141c728138c66698fc1d0ca7 (patch) | |
tree | 58cfb070c3257f09ae47df48cd391b3f3a983a91 /apps/src/higet/higet.cc | |
parent | 972ccbeb3d6765c2add13b7b4da10c9fb6fb2c9c (diff) | |
parent | d0111c2f8b5b73739f7193a79415e1d0bc8ee8c8 (diff) |
Merge "[HICN-128] README utils and renaming of executables"
Diffstat (limited to 'apps/src/higet/higet.cc')
-rw-r--r-- | apps/src/higet/higet.cc | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/apps/src/higet/higet.cc b/apps/src/higet/higet.cc index 58b582a9d..1d1379887 100644 --- a/apps/src/higet/higet.cc +++ b/apps/src/higet/higet.cc @@ -87,14 +87,12 @@ void processResponse(Configuration &conf, } void usage(char *program_name) { - std::cerr << "USAGE:" << std::endl; - std::cerr << "\t" << program_name << " [OPTION]... [URL]..." << std::endl; - std::cerr << "OPTIONS:" << std::endl; - std::cerr << "\t" - << "-O filename write documents to FILE" << std::endl; - std::cerr << "\t" - << "-S print server response" << std::endl; - std::cerr << "EXAMPLE:" << std::endl; + std::cerr << "usage:" << std::endl; + std::cerr << program_name << " [option]... [url]..." << std::endl; + std::cerr << program_name << "options:" << std::endl; + std::cerr << "-O <output_path> = write documents to <output_file>" << std::endl; + std::cerr << "-S = print server response" << std::endl; + std::cerr << "example:" << std::endl; std::cerr << "\t" << program_name << " -O - http://origin/index.html" << std::endl; exit(EXIT_FAILURE); |