diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2007-02-15 08:56:24 +0000 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2007-02-15 08:56:24 +0000 | 
| commit | e41652b93c75dd524095c9a8255ff4db265c15f1 (patch) | |
| tree | 6dd0b69c9a487654ab65733c65809cd28f5f3e94 | |
| parent | c2c130dfca7b749ecc72a45836b6d8beaa299654 (diff) | |
Change option for standalone mode
| -rw-r--r-- | audio/headset.c | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/headset.c b/audio/headset.c index f8feed4f..1fcdf6c2 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -1860,7 +1860,7 @@ int main(int argc, char *argv[])  	struct sigaction sa;  	int opt; -	while ((opt = getopt(argc, argv, "c:o:i:d")) != EOF) { +	while ((opt = getopt(argc, argv, "c:o:i:ds")) != EOF) {  		switch (opt) {  		case 'c':  			opt_channel = strtol(optarg, NULL, 0); @@ -1876,6 +1876,9 @@ int main(int argc, char *argv[])  		case 'd':  			enable_debug(); +			break; + +		case 's':  			register_svc = TRUE;  			break;  | 
