summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-02-15 08:42:09 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-02-15 08:42:09 +0000
commitae3e54003a6e36749ac23a4e0cbecf49ba561656 (patch)
treeeb68e470b4449504c15aff2b1e5797cc2452f38c
parent7d163e45e7a5a22f7ac52982587704f6a3370e05 (diff)
Use -d for running as an external service
-rw-r--r--audio/headset.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 79c85084..b48c2986 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -1861,7 +1861,7 @@ int main(int argc, char *argv[])
struct sigaction sa;
int opt;
- while ((opt = getopt(argc, argv, "c:o:i:dr")) != EOF) {
+ while ((opt = getopt(argc, argv, "c:o:i:d")) != EOF) {
switch (opt) {
case 'c':
opt_channel = strtol(optarg, NULL, 0);
@@ -1877,9 +1877,6 @@ int main(int argc, char *argv[])
case 'd':
enable_debug();
- break;
-
- case 'r':
register_svc = TRUE;
break;