summaryrefslogtreecommitdiff
path: root/btt/args.c
diff options
context:
space:
mode:
Diffstat (limited to 'btt/args.c')
-rw-r--r--btt/args.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/btt/args.c b/btt/args.c
index ed53b8b..137c2f5 100644
--- a/btt/args.c
+++ b/btt/args.c
@@ -29,7 +29,7 @@
#define SETBUFFER_SIZE (64 * 1024)
-#define S_OPTS "aAB:d:D:e:hi:I:l:L:m:M:o:p:P:q:Q:rs:S:t:T:u:VvXz:"
+#define S_OPTS "aAB:d:D:e:hi:I:l:L:m:M:o:p:P:q:Q:rs:S:t:T:u:VvXz:Z"
static struct option l_opts[] = {
{
.name = "seek-absolute",
@@ -188,6 +188,12 @@ static struct option l_opts[] = {
.val = 'v'
},
{
+ .name = "do-active",
+ .has_arg = no_argument,
+ .flag = NULL,
+ .val = 'z'
+ },
+ {
.name = "easy-parse-avgs",
.has_arg = no_argument,
.flag = NULL,
@@ -233,6 +239,7 @@ static char usage_str[] = \
"[ -v | --verbose ]\n" \
"[ -X | --easy-parse-avgs ]\n" \
"[ -z <output name> | --q2d-latencies=<output name> ]\n" \
+ "[ -Z | --do-active\n" \
"\n";
static void usage(char *prog)
@@ -378,6 +385,9 @@ void handle_args(int argc, char *argv[])
case 'z':
q2d_name = optarg;
break;
+ case 'Z':
+ do_p_live = 1;
+ break;
default:
usage(argv[0]);
exit(1);