aboutsummaryrefslogtreecommitdiffstats
path: root/clopts_common.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-11Back out Jeff Morris's change to make the autostop file size 64-bit - itguy1-47/+0
didn't change the GUI code for setting the autostop file size, and that broke the build. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36552 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-11Jeff Morris's change to make the autostop file size 64-bit. Fixes bugguy1-0/+47
5691. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36551 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-31Tethereal/tethereal -> TShark/tshark.gerald1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18268 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-28Ethereal->Wiresharketxrab1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18235 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21name changesahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18197 f5534014-38df-0310-8fa8-9805f1628bb7
2005-11-17Handle "-G" only in Tethereal - it doesn't work in Ethereal, and isn'tguy1-54/+9
necessary there. Add a "cmdarg_err()" routine to report command-line option errors; it creates a console if necessary, and prints the command name and the trailing newline. Also add "cmdarg_err_cont()", which also creates a console if necessary, and prints a trailing newline but no command name; it's used to continue the message. Use those, rather than "g_warning()", for errors. That means that we no longer need to pass the command name to various command-line argument parsing routines. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16526 f5534014-38df-0310-8fa8-9805f1628bb7
2005-07-23More 'char*' -> 'const char*' changes to fix warnings.jmayer1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15015 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-13Change read_prefs() to use GStrings instead of (re)allocating memorygerald1-1/+12
ourselves. This fixes a potential off-by-one error found by Steve Grubb. Add two new -G options: defaultprefs and currentprefs. The first dumps the default preferences to stdout and the second dumps the user's prefs to stdout. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14624 f5534014-38df-0310-8fa8-9805f1628bb7
2005-05-27Add a "-G fields3" report which prints the bitmask of the field, and avoidsgram1-0/+2
printing the blurb twice, like fields2 does. Add a script, fsanity.py, to check sanity of FT definitions. Right now the only check is for bitmasks for integer-like fields. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14454 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-11Add a "-G decodes" option to ethereal and tethereal which shows thegerald1-0/+3
filter/selector/protocol associations for each dissector. This will be used to improve our automated tests, but someone with time on their hands could probably use it to generate a protocol poster using Graphviz. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13721 f5534014-38df-0310-8fa8-9805f1628bb7
2005-02-27Move "get_natural_int()" and "get_positive_int()" from "capture_opts.c"guy1-0/+42
to "clopts_common.c", make them not static, and use them in "gtk/main.c". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13541 f5534014-38df-0310-8fa8-9805f1628bb7
2004-09-10Hoist the code for handling "-G" into a common module.guy1-0/+63
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11956 f5534014-38df-0310-8fa8-9805f1628bb7