From e9e742b0e892ca72576c745ac389eabb56c978a1 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 8 Jul 2016 23:10:44 -0400 Subject: driver: added --wait support for slightly more convenient debug sessions. --- 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 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,"", "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} }; -- cgit v1.2.3