summaryrefslogtreecommitdiffhomepage
path: root/src/skin
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-07-13 21:05:48 -0400
committermidipix <writeonce@midipix.org>2016-07-21 03:47:28 -0400
commitf67c207318b2f2e39d67dfbae582186cffa99666 (patch)
treed5aa7dedc508c41622020883f1673cbe6bd16648 /src/skin
parent7307c5eee83cbc76de38ab768000dccbae2bf11e (diff)
downloadptycon-f67c207318b2f2e39d67dfbae582186cffa99666.tar.bz2
ptycon-f67c207318b2f2e39d67dfbae582186cffa99666.tar.xz
driver: added --daemon support.
Diffstat (limited to 'src/skin')
-rw-r--r--src/skin/ptyc_skin_default.c7
1 files changed, 7 insertions, 0 deletions
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. "