From f67c207318b2f2e39d67dfbae582186cffa99666 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 13 Jul 2016 21:05:48 -0400 Subject: driver: added --daemon support. --- src/skin/ptyc_skin_default.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/skin') diff --git a/src/skin/ptyc_skin_default.c b/src/skin/ptyc_skin_default.c index 49033cc..1239947 100644 --- a/src/skin/ptyc_skin_default.c +++ b/src/skin/ptyc_skin_default.c @@ -8,6 +8,13 @@ const struct argv_option ptyc_default_options[] = { {"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0, "show usage information [listing %s options only]"}, + {"daemon", 0,TAG_DAEMON,ARGV_OPTARG_OPTIONAL,0,"default|always|never",0, + "create a daemon thread and handle signals sent by the " + "application's own controlling terminal. The default is " + "to create a daemon thread when ptycon runs as a stand-alone " + "program, and defer the task to the main utility in all other " + "cases."}, + {"debug", 'd',TAG_DEBUG,ARGV_OPTARG_OPTIONAL,0, "event|oven|raw",0, "start an internal thread for debugging purposes. " -- cgit v1.2.3