Skip to content

Commit df18c34

Browse files
committed
pcm-sensor-server: use -l for bind ip
1 parent be10f70 commit df18c34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pcm-sensor-server.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -3724,7 +3724,7 @@ void printHelpText( std::string const & programName ) {
37243724
#if defined (USE_SSL)
37253725
std::cout << " -s : Use https protocol (default port " << DEFAULT_HTTPS_PORT << ")\n";
37263726
#endif
3727-
std::cout << " -h bind ip : Bind to ip address. (default ip is 0.0.0.0)\n";
3727+
std::cout << " -l bind ip : Bind to ip address. (default ip is 0.0.0.0)\n";
37283728
std::cout << " -p portnumber : Run on port <portnumber> (default port is " << DEFAULT_HTTP_PORT << ")\n";
37293729
std::cout << " -r|--reset : Reset programming of the performance counters.\n";
37303730
std::cout << " -D|--debug level : level = 0: no debug info, > 0 increase verbosity.\n";
@@ -3790,7 +3790,7 @@ int mainThrows(int argc, char * argv[]) {
37903790
for ( int i=1; i < argc; ++i ) {
37913791
if ( check_argument_equals( argv[i], {"-d"} ) )
37923792
daemonMode = true;
3793-
else if ( check_argument_equals( argv[i], {"-h"} ) )
3793+
else if ( check_argument_equals( argv[i], {"-l"} ) )
37943794
{
37953795
if ( (++i) < argc ) {
37963796
host = argv[i];

0 commit comments

Comments
 (0)