text2pcap: Update usage for new time format options

This commit is contained in:
John Thacker 2021-12-25 13:26:04 -05:00
parent 8cafcfa5a9
commit 5f3197e8be
1 changed files with 4 additions and 6 deletions

View File

@ -259,13 +259,11 @@ print_usage (FILE *output)
" -o hex|oct|dec|none parse offsets as (h)ex, (o)ctal, (d)ecimal, or (n)one;\n"
" default is hex.\n"
" -t <timefmt> treat the text before the packet as a date/time code;\n"
" the specified argument is a format string of the sort\n"
" supported by strptime.\n"
" <timefmt> is a format string supported by strptime,\n"
" with an optional %%f descriptor for fractional seconds.\n"
" Example: The time \"10:15:14.5476\" has the format code\n"
" \"%%H:%%M:%%S.\"\n"
" NOTE: The subsecond component delimiter, '.', must be\n"
" given, but no pattern is required; the remaining\n"
" number is assumed to be fractions of a second.\n"
" \"%%H:%%M:%%S.%%f\"\n"
" The special format string ISO supports ISO-8601 times.\n"
" NOTE: Date/time fields from the current date/time are\n"
" used as the default for unspecified fields.\n"
" -D the text before the packet starts with an I or an O,\n"