Add read_format extension to manual pages

The -X read_format extension was added in code but in the manuals.

Change-Id: I21692120229ef531671fc3db247809ace69d23b3
Reviewed-on: https://code.wireshark.org/review/742
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
Hadriel Kaplan 2014-03-19 12:57:13 -04:00 committed by Alexis La Goutte
parent c8a98f37ec
commit 7e423a3a1f
2 changed files with 9 additions and 2 deletions

View File

@ -785,16 +785,20 @@ after printing the summary and/or details, if either are also being displayed.
Specify an option to be passed to a B<TShark> module. The eXtension option
is in the form I<extension_key>B<:>I<value>, where I<extension_key> can be:
B<lua_script>:I<lua_script_filename> tells B<Wireshark> to load the given script in addition to the
B<lua_script>:I<lua_script_filename> tells B<TShark> to load the given script in addition to the
default Lua scripts.
B<lua_script>I<num>:I<argument> tells B<Wireshark> to pass the given argument
B<lua_script>I<num>:I<argument> tells B<TShark> to pass the given argument
to the lua script identified by 'num', which is the number indexed order of the 'lua_script' command.
For example, if only one script was loaded with '-X lua_script:my.lua', then '-X lua_script1:foo'
will pass the string 'foo' to the 'my.lua' script. If two scripts were loaded, such as '-X lua_script:my.lua'
and '-X lua_script:other.lua' in that order, then a '-X lua_script2:bar' would pass the string 'bar' to the second lua
script, namely 'other.lua'.
B<read_format>:I<file_format> tells B<TShark> to use the given file format to read in the
file (the file given in the B<-r> command option). Providing no I<file_format> argument, or
an invalid one, will produce a file of available file formats to use.
=item -y E<lt>capture link typeE<gt>
Set the data link type to use while capturing packets. The values

View File

@ -611,6 +611,9 @@ will pass the string 'foo' to the 'my.lua' script. If two scripts were loaded,
and '-X lua_script:other.lua' in that order, then a '-X lua_script2:bar' would pass the string 'bar' to the second lua
script, namely 'other.lua'.
B<read_format>:I<file_format> tells B<Wireshark> to use the given file format to read in the
file (the file given in the B<-r> command option).
B<stdin_descr>:I<description> tells B<Wireshark> to use the given description when
capturing from standard input (B<-i ->).