Changeset 4063:d624d6d37413 in roaraudio


Ignore:
Timestamp:
07/15/10 23:35:56 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added --help/-h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarclientpass.c

    r4061 r4063  
    109109  } else if ( !strcmp(k, "--port") ) { 
    110110   port = atoi(argv[++i]); 
     111  } else if ( !strcmp(k, "--help") || !strcmp(k, "-h") ) { 
     112   usage(); 
     113   return 0; 
    111114  } else { 
    112115   ROAR_ERR("unknown argument: %s", k); 
Note: See TracChangeset for help on using the changeset viewer.