summaryrefslogtreecommitdiffhomepage
path: root/src/skin
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-07-08 23:10:44 -0400
committermidipix <writeonce@midipix.org>2016-07-21 03:47:26 -0400
commite9e742b0e892ca72576c745ac389eabb56c978a1 (patch)
tree82e016aa916a48ec1cee970d41dded1c86ac6159 /src/skin
parent2de078329160a245dc95ab1cec99653e297e257b (diff)
downloadptycon-e9e742b0e892ca72576c745ac389eabb56c978a1.tar.bz2
ptycon-e9e742b0e892ca72576c745ac389eabb56c978a1.tar.xz
driver: added --wait support for slightly more convenient debug sessions.
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 fcf22ce..49033cc 100644
--- a/src/skin/ptyc_skin_default.c
+++ b/src/skin/ptyc_skin_default.c
@@ -18,5 +18,12 @@ const struct argv_option ptyc_default_options[] = {
{"cat", 'c',TAG_CAT,ARGV_OPTARG_REQUIRED,0,0,"<file>",
"send %s to the terminal via the pty layer."},
+ {"wait", 0,TAG_WAIT,ARGV_OPTARG_NONE,0,0,0,
+ "wait on a dummy event upon invocation of ptycon_start(); "
+ "this option has the sole purpose of rendering debub "
+ "sessions with foreign debuggers more convenient, "
+ "and must be the first command-line argument "
+ "passed to the utility."},
+
{0,0,0,0,0,0,0,0}
};