Wireshark-bugs: [Wireshark-bugs] [Bug 5501] New: command line options don't work in OSX
Date: Sat, 18 Dec 2010 17:36:58 -0800 (PST)

           Summary: command line options don't work in OSX
           Product: Wireshark
           Version: 1.4.2
          Platform: x86-64
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: [email protected]
        ReportedBy: [email protected]

Build Information:
Version 1.4.2 (SVN Rev 34959 from /trunk-1.4)

Copyright 1998-2010 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO

Compiled (64-bit) with GTK+ 2.20.1, with GLib 2.24.1, with libpcap 1.0.0, with
libz 1.2.3, without POSIX capabilities, without libpcre, without SMI, without
c-ares, without ADNS, with Lua 5.1, without Python, without GnuTLS, without
Gcrypt, with MIT Kerberos, without GeoIP, without PortAudio, without AirPcap.

Running on Darwin 10.5.0 (Mac OS 10.6.5), with libpcap version 1.0.0, with libz

Built using gcc 4.2.1 (Apple Inc. build 5659).

Wireshark is Open Source Software released under the GNU General Public

Check the man page and http://www.wireshark.org for more information.
When I use a terminal and issue the command:
$ /Applications/Wireshark.app/Contents/MacOS/Wireshark -h

or any other command line option, it seems to have no effect - instead of
displaying the Help (as expected and described in
http://www.wireshark.org/docs/wsug_html_chunked/ChCustCommandLine.html) the
Application simply starts.

I am trying to make GNS3 open Wireshark files when running under OSX - just
like it does for PC (and Linux).  However, no matter what command options I
put, I can't get the file to open - Wireshark starts - but no file is opened.

$ /Applications/Wireshark.app/Contents/MacOS/Wireshark -r
2010-12-19 12:30:50.546 defaults[43479:903] 
The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor)
does not exist

(process:43461): Gdk-WARNING **: locale not supported by C library

(process:43461): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
Xlib:  extension "RANDR" missing on display "/tmp/launch-WosM9v/org.x:0".

(wireshark-bin:43461): Gtk-WARNING **: Unable to locate theme engine in
module_path: "clearlooks",

[And the Wireshark application is opened at the main start screen - NO file
loaded, and the file DOES exist]

Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.