summaryrefslogtreecommitdiffstats
path: root/src/opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/opt.c')
-rw-r--r--src/opt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opt.c b/src/opt.c
index 41dcd5e..ad77e03 100644
--- a/src/opt.c
+++ b/src/opt.c
@@ -214,6 +214,10 @@ void perf_opt_parse(int argc, char** argv)
*opt->u.uintp = parse_uint(opt->desc, optarg,
1, 0xFFFFFFFF);
break;
+ case perf_opt_zpint:
+ *opt->u.uintp = parse_uint(opt->desc, optarg,
+ 0, 0xFFFFFFFF);
+ break;
case perf_opt_timeval:
*opt->u.uint64p = parse_timeval(opt->desc, optarg);
break;