diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2013-07-27 16:25:08 +0000 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2013-07-27 16:25:08 +0000 |
commit | 82ea635aa6e43540a5986b3e0d0fc0145589a3ae (patch) | |
tree | ae6e91cbc3b59734e90fa67aef87a679886d5469 /capture_opts.c | |
parent | a585b453434b2a1109668fa1a0babcf04d1165bd (diff) |
command line option --capture-comment for dumpcap
svn path=/trunk/; revision=50945
Diffstat (limited to 'capture_opts.c')
-rw-r--r-- | capture_opts.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/capture_opts.c b/capture_opts.c index 51b8be74cc..ee9d401e33 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -627,6 +627,9 @@ capture_opts_add_opt(capture_options *capture_opts, int opt, const char *optarg_ int status, snaplen; switch(opt) { + case LONGOPT_NUM_CAP_COMMENT: /* capture comment */ + capture_opts->capture_comment = g_strdup(optarg_str_p); + break; case 'a': /* autostop criteria */ if (set_autostop_criterion(capture_opts, optarg_str_p) == FALSE) { cmdarg_err("Invalid or unknown -a flag \"%s\"", optarg_str_p); |