From e41652b93c75dd524095c9a8255ff4db265c15f1 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 15 Feb 2007 08:56:24 +0000 Subject: Change option for standalone mode --- audio/headset.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- cgit