Change-Id: I3d6689738aee32bf720e6ebca1d4462429fdc1eb
Reviewed-on: https://code.wireshark.org/review/27397
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
printf("arg {number=%u}{call=--remote-host}{display=Remote SSH server address}"
"{type=string}{tooltip=The remote SSH host. It can be both "
printf("arg {number=%u}{call=--remote-host}{display=Remote SSH server address}"
"{type=string}{tooltip=The remote SSH host. It can be both "
- "an IP address or a hostname}{required=true}\n", inc++);
+ "an IP address or a hostname}{required=true}{group=Server}\n", inc++);
printf("arg {number=%u}{call=--remote-port}{display=Remote SSH server port}"
"{type=unsigned}{default=22}{tooltip=The remote SSH host port (1-65535)}"
printf("arg {number=%u}{call=--remote-port}{display=Remote SSH server port}"
"{type=unsigned}{default=22}{tooltip=The remote SSH host port (1-65535)}"
- "{range=1,65535}\n", inc++);
+ "{range=1,65535}{group=Server}\n", inc++);
printf("arg {number=%u}{call=--remote-username}{display=Remote SSH server username}"
"{type=string}{default=%s}{tooltip=The remote SSH username. If not provided, "
printf("arg {number=%u}{call=--remote-username}{display=Remote SSH server username}"
"{type=string}{default=%s}{tooltip=The remote SSH username. If not provided, "
- "the current user will be used}\n", inc++, g_get_user_name());
+ "the current user will be used}{group=Authentication}\n", inc++, g_get_user_name());
printf("arg {number=%u}{call=--remote-password}{display=Remote SSH server password}"
"{type=password}{tooltip=The SSH password, used when other methods (SSH agent "
printf("arg {number=%u}{call=--remote-password}{display=Remote SSH server password}"
"{type=password}{tooltip=The SSH password, used when other methods (SSH agent "
- "or key files) are unavailable.}\n", inc++);
+ "or key files) are unavailable.}{group=Authentication}\n", inc++);
printf("arg {number=%u}{call=--sshkey}{display=Path to SSH private key}"
printf("arg {number=%u}{call=--sshkey}{display=Path to SSH private key}"
- "{type=fileselect}{tooltip=The path on the local filesystem of the private ssh key}\n",
- inc++);
+ "{type=fileselect}{tooltip=The path on the local filesystem of the private ssh key}"
+ "{group=Authentication}\n", inc++);
printf("arg {number=%u}{call--sshkey-passphrase}{display=SSH key passphrase}"
printf("arg {number=%u}{call--sshkey-passphrase}{display=SSH key passphrase}"
- "{type=password}{tooltip=Passphrase to unlock the SSH private key}\n",
- inc++);
+ "{type=password}{tooltip=Passphrase to unlock the SSH private key}"
+ "{group=Authentication\n", inc++);
printf("arg {number=%u}{call=--remote-interface}{display=Remote interface}"
"{type=string}{required=true}{tooltip=The remote network interface used for capture"
printf("arg {number=%u}{call=--remote-interface}{display=Remote interface}"
"{type=string}{required=true}{tooltip=The remote network interface used for capture"
+ "}{group=Capture}\n", inc++);
printf("arg {number=%u}{call=--remote-filter}{display=Remote capture filter}"
"{type=string}{tooltip=The remote capture filter}", inc++);
if (ipfilter)
printf("{default=%s}", ipfilter);
printf("arg {number=%u}{call=--remote-filter}{display=Remote capture filter}"
"{type=string}{tooltip=The remote capture filter}", inc++);
if (ipfilter)
printf("{default=%s}", ipfilter);
+ printf("{group=Capture}\n");
printf("arg {number=%u}{call=--remote-count}{display=Packets to capture}"
printf("arg {number=%u}{call=--remote-count}{display=Packets to capture}"
- "{type=unsigned}{required=true}{tooltip=The number of remote packets to capture.}\n",
- inc++);
+ "{type=unsigned}{required=true}{tooltip=The number of remote packets to capture.}"
+ "{group=Capture}\n", inc++);
extcap_config_debug(&inc);
extcap_config_debug(&inc);
void extcap_config_debug(unsigned* count)
{
printf("arg {number=%u}{call=--debug}{display=Run in debug mode}"
void extcap_config_debug(unsigned* count)
{
printf("arg {number=%u}{call=--debug}{display=Run in debug mode}"
- "{type=boolean}{default=false}{tooltip=Print debug messages}{required=false}\n",
- (*count)++);
+ "{type=boolean}{default=false}{tooltip=Print debug messages}{required=false}"
+ "{group=Debug}\n", (*count)++);
printf("arg {number=%u}{call=--debug-file}{display=Use a file for debug}"
printf("arg {number=%u}{call=--debug-file}{display=Use a file for debug}"
- "{type=string}{tooltip=Set a file where the debug messages are written}{required=false}\n",
- (*count)++);
+ "{type=string}{tooltip=Set a file where the debug messages are written}{required=false}"
+ "{group=Debug}\n", (*count)++);
}
void extcap_cmdline_debug(char** ar, const unsigned n)
}
void extcap_cmdline_debug(char** ar, const unsigned n)
printf("arg {number=%u}{call=--remote-host}{display=Remote SSH server address}"
"{type=string}{tooltip=The remote SSH host. It can be both "
printf("arg {number=%u}{call=--remote-host}{display=Remote SSH server address}"
"{type=string}{tooltip=The remote SSH host. It can be both "
- "an IP address or a hostname}{required=true}\n", inc++);
+ "an IP address or a hostname}{required=true}{group=Server}\n", inc++);
printf("arg {number=%u}{call=--remote-port}{display=Remote SSH server port}"
"{type=unsigned}{default=22}{tooltip=The remote SSH host port (1-65535)}"
printf("arg {number=%u}{call=--remote-port}{display=Remote SSH server port}"
"{type=unsigned}{default=22}{tooltip=The remote SSH host port (1-65535)}"
- "{range=1,65535}\n", inc++);
+ "{range=1,65535}{group=Server}\n", inc++);
printf("arg {number=%u}{call=--remote-username}{display=Remote SSH server username}"
"{type=string}{default=%s}{tooltip=The remote SSH username. If not provided, "
printf("arg {number=%u}{call=--remote-username}{display=Remote SSH server username}"
"{type=string}{default=%s}{tooltip=The remote SSH username. If not provided, "
- "the current user will be used}\n", inc++, g_get_user_name());
+ "the current user will be used}{group=Authentication}\n", inc++, g_get_user_name());
printf("arg {number=%u}{call=--remote-password}{display=Remote SSH server password}"
"{type=password}{tooltip=The SSH password, used when other methods (SSH agent "
printf("arg {number=%u}{call=--remote-password}{display=Remote SSH server password}"
"{type=password}{tooltip=The SSH password, used when other methods (SSH agent "
- "or key files) are unavailable.}\n", inc++);
+ "or key files) are unavailable.}{group=Authentication}\n", inc++);
printf("arg {number=%u}{call=--sshkey}{display=Path to SSH private key}"
printf("arg {number=%u}{call=--sshkey}{display=Path to SSH private key}"
- "{type=fileselect}{tooltip=The path on the local filesystem of the private ssh key}\n",
- inc++);
+ "{type=fileselect}{tooltip=The path on the local filesystem of the private ssh key}"
+ "{group=Authentication}\n",inc++);
printf("arg {number=%u}{call=--sshkey-passphrase}{display=SSH key passphrase}"
printf("arg {number=%u}{call=--sshkey-passphrase}{display=SSH key passphrase}"
- "{type=password}{tooltip=Passphrase to unlock the SSH private key}\n",
+ "{type=password}{tooltip=Passphrase to unlock the SSH private key}{group=Authentication}\n",
inc++);
printf("arg {number=%u}{call=--remote-interface}{display=Remote interface}"
"{type=string}{default=eth0}{tooltip=The remote network interface used for capture"
inc++);
printf("arg {number=%u}{call=--remote-interface}{display=Remote interface}"
"{type=string}{default=eth0}{tooltip=The remote network interface used for capture"
+ "}{group=Capture}\n", inc++);
printf("arg {number=%u}{call=--remote-capture-command}{display=Remote capture command}"
printf("arg {number=%u}{call=--remote-capture-command}{display=Remote capture command}"
- "{type=string}{tooltip=The remote command used to capture}\n", inc++);
+ "{type=string}{tooltip=The remote command used to capture}{group=Capture}\n", inc++);
printf("arg {number=%u}{call=--remote-sudo}{display=Use sudo on the remote machine}"
printf("arg {number=%u}{call=--remote-sudo}{display=Use sudo on the remote machine}"
- "{type=boolean}{tooltip=Prepend the capture command with sudo on the remote machine}\n", inc++);
+ "{type=boolean}{tooltip=Prepend the capture command with sudo on the remote machine}"
+ "{group=Capture}\n", inc++);
printf("arg {number=%u}{call=--remote-noprom}{display=No promiscuous mode}"
printf("arg {number=%u}{call=--remote-noprom}{display=No promiscuous mode}"
- "{type=boolflag}{tooltip=Don't use promiscuous mode on the remote machine}\n", inc++);
- printf("arg {number=%u}{call=--remote-filter}{display=Remote capture filter}"
- "{type=string}{tooltip=The remote capture filter}", inc++);
+ "{type=boolflag}{tooltip=Don't use promiscuous mode on the remote machine}{group=Capture}"
+ "\n", inc++);
+ printf("arg {number=%u}{call=--remote-filter}{display=Remote capture filter}{type=string}"
+ "{tooltip=The remote capture filter}", inc++);
if (ipfilter)
printf("{default=%s}", ipfilter);
if (ipfilter)
printf("{default=%s}", ipfilter);
+ printf("{group=Capture}\n");
printf("arg {number=%u}{call=--remote-count}{display=Packets to capture}"
printf("arg {number=%u}{call=--remote-count}{display=Packets to capture}"
- "{type=unsigned}{default=0}{tooltip=The number of remote packets to capture. (Default: inf)}\n",
- inc++);
+ "{type=unsigned}{default=0}{tooltip=The number of remote packets to capture. (Default: inf)}"
+ "{group=Capture}\n", inc++);
extcap_config_debug(&inc);
extcap_config_debug(&inc);