summaryrefslogtreecommitdiff
path: root/ui/commandline.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/commandline.c')
-rw-r--r--ui/commandline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/commandline.c b/ui/commandline.c
index 24e44aae88..d200c31696 100644
--- a/ui/commandline.c
+++ b/ui/commandline.c
@@ -93,7 +93,7 @@ commandline_print_usage(gboolean for_help_option) {
fprintf(output, "Capture interface:\n");
fprintf(output, " -i <interface> name or idx of interface (def: first non-loopback)\n");
fprintf(output, " -f <capture filter> packet filter in libpcap filter syntax\n");
- fprintf(output, " -s <snaplen> packet snapshot length (def: 65535)\n");
+ fprintf(output, " -s <snaplen> packet snapshot length (def: %u)\n", WTAP_MAX_PACKET_SIZE);
fprintf(output, " -p don't capture in promiscuous mode\n");
fprintf(output, " -k start capturing immediately (def: do nothing)\n");
fprintf(output, " -S update packet display when new packets are captured\n");