Package: python-gst0.10 Version: 0.10.18-2 Severity: normal Hi,
As shown by this example script, importing pygst steals the '-h' command line switch. The program: -- $ cat cpgst.py from optparse import OptionParser import sys if len(sys.argv) > 2 and sys.argv[2] == 'gst': print "importing gst..." import gst usage = "usage: %prog [options] dir" parser = OptionParser(usage=usage) parser.get_option('-h').help = "Show this help message and exit." parser.print_help() -- The output: -- $ LANG=C python cpgst.py -h Usage: cpgst.py [options] dir Options: -h, --help Show this help message and exit. $ LANG=C python cpgst.py -h gst importing gst... Usage: cpgst.py [OPTION...] - GStreamer initialization Help Options: -h, --help Show help options --help-all Show all help options --help-gst Show GStreamer Options -- Feel free to ask for more info. Alex -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-gst0.10 depends on: ii libc6 2.11.2-1 Embedded GNU C Library: Shared lib ii libglib2.0-0 2.24.1-1 The GLib library of C routines ii libgstreamer-plugins-ba 0.10.29-4 GStreamer libraries from the "base ii libgstreamer0.10-0 0.10.29-1 Core GStreamer libraries and eleme ii libpython2.6 2.6.5+20100529-1 Shared Python runtime library (ver ii libxml2 2.7.7.dfsg-2 GNOME XML library ii python 2.5.4-9 An interactive high-level object-o ii python-central 0.6.16 register and build utility for Pyt ii python-gobject 2.21.1-2 Python bindings for the GObject li ii python-libxml2 2.7.7.dfsg-2 Python bindings for the GNOME XML python-gst0.10 recommends no packages. Versions of packages python-gst0.10 suggests: pn python-gst0.10-dbg <none> (no description available) pn python-gst0.10-dev <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org