Skip to content

Commit

Permalink
Cleanup usage (sonic-net#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft committed Aug 28, 2018
1 parent 7cd75c0 commit 2c2a13c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions syncd/syncd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2862,27 +2862,27 @@ void printUsage()
SWSS_LOG_ENTER();

std::cout << "Usage: syncd [-N] [-d] [-p profile] [-i interval] [-t [cold|warm|fast]] [-h] [-u] [-S]" << std::endl;
std::cout << " -N --nocounters:" << std::endl;
std::cout << " -N --nocounters" << std::endl;
std::cout << " Disable counter thread" << std::endl;
std::cout << " -d --diag:" << std::endl;
std::cout << " -d --diag" << std::endl;
std::cout << " Enable diagnostic shell" << std::endl;
std::cout << " -p --profile profile:" << std::endl;
std::cout << " -p --profile profile" << std::endl;
std::cout << " Provide profile map file" << std::endl;
std::cout << " -i --countersInterval interval:" << std::endl;
std::cout << " -i --countersInterval interval" << std::endl;
std::cout << " Provide counter thread interval" << std::endl;
std::cout << " -t --startType type:" << std::endl;
std::cout << " -t --startType type" << std::endl;
std::cout << " Specify cold|warm|fast start type" << std::endl;
std::cout << " -u --useTempView type:" << std::endl;
std::cout << " -u --useTempView:" << std::endl;
std::cout << " Use temporary view between init and apply" << std::endl;
std::cout << " -S --disableExitSleep" << std::endl;
std::cout << " Disable sleep when syncd crashes" << std::endl;
#ifdef SAITHRIFT
std::cout << " -r --rpcserver:" << std::endl;
std::cout << " -r --rpcserver" << std::endl;
std::cout << " Enable rpcserver" << std::endl;
std::cout << " -m --portmap:" << std::endl;
std::cout << " -m --portmap" << std::endl;
std::cout << " Specify port map file" << std::endl;
#endif // SAITHRIFT
std::cout << " -h --help:" << std::endl;
std::cout << " -h --help" << std::endl;
std::cout << " Print out this message" << std::endl;
}

Expand Down

0 comments on commit 2c2a13c

Please sign in to comment.