GNOME Bugzilla – Bug 340460
gst-launch no longer supports --version
Last modified: 2006-05-05 17:13:08 UTC
On Ubuntu Dapper, gst-launch-0.8, gst-inspect-0.8 and others respond to the --version option, but the -0.10 versions do not. It would be helpful to naive users if they did so, as this is a common thing to try when trying to determine which tool version is being used. In this particular case, I was just trying to determine if gst-launch was gst-launch-0.8 or gst-launch-0.10. It would be fine if this were just a synonym for --gst-version, since the tools are part of the library release. Other information:
Fixed in CVS: 2006-05-05 Tim-Philipp Müller <tim at centricular dot net> * tools/Makefile.am: * tools/gst-inspect.c: (main): * tools/gst-launch.c: (main): * tools/gst-xmlinspect.c: (main): * tools/tools.h: Add back --version command line option (#340460). * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main): Add --version option and use GOption for argument parsing; refactor a bit; accept directories as arguments and recurse into them; lastly, print a decent error message when things go wrong.
Awesome, thanks!