summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.c b/config.c
index 5cee08fc..ada368ae 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c,v 1.1 2006-06-03 10:01:17 phintuka Exp $
+ * $Id: config.c,v 1.2 2006-07-02 17:03:26 phintuka Exp $
*
*/
@@ -191,6 +191,7 @@ bool config_t::ProcessArgs(int argc, char *argv[])
{ "audio", required_argument, NULL, 'A' },
{ "post", required_argument, NULL, 'P' },
{ "primary", no_argument, NULL, 'p' },
+ { "exit-on-close",no_argument, NULL, 'c' },
{ NULL }
};
@@ -228,6 +229,8 @@ bool config_t::ProcessArgs(int argc, char *argv[])
break;
case 'p': ProcessArg("ForcePrimaryDevice", "1");
break;
+ case 'c': exit_on_close = 1;
+ break;
default: return false;
}
}