Page 1 of 1

issues with "vlc.exe --version"

Posted: 11 Feb 2014 13:37
by rpremuz
Hi!

VLC has many command line options.
On Windows I tried to run "vlc.exe --version" to get the version info but noticed that vlc.exe requires that the RETURN key is pressed to finish the command execution, which is rather unusual for that option.

Also, the output is not consistent: if you have write permissions in current working directory, vlc.exe saves the output in the vlc-help.txt file. Otherwise, it prints the output in the command window.

Moreover, I noticed that the output depends on the VLC language settings.
For English settings "vlc.exe --version" says:

Code: Select all

VLC version 2.1.3 Rincewind (2.1.3-0-ge6a71cc) Compiled by jb on villacia.jbkempf.com (Feb 5 2014 01:38:47) Compiler: gcc version 4.8.2 (GCC) This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute it under the terms of the GNU General Public License; see the file named COPYING for details. Written by the VideoLAN team; see the AUTHORS file.
For German settings you get:

Code: Select all

VLC-Version 2.1.3 Rincewind (2.1.3-0-ge6a71cc) Kompiliert von jb auf villacia.jbkempf.com (Feb 5 2014 01:38:47) Kompiler: gcc version 4.8.2 (GCC) Dieses Programm kommt OHNE GEWÄHRLEISTUNG. Sie dürfen das Programm unter den Bedingungen der GNU General Public License weitergegeben; Schauen Sie für Details in die Datei COPYING. Geschrieben vom VideoLAN Team; Schauen Sie in die Datei AUTHORS.
But for Czech settings you get only the following:

Code: Select all

Verze pZkompilováno jb na villacia.jbkempf.com (Feb 5 2014 01:38:47) Kompilátor: gcc version 4.8.2 (GCC) Tento program je poskytován BEZ ZÁRUKY, v maximálním právn
You can see that the VLC version info is missing. The output is incorrect for a couple of other languages I tried.

I also tried to force the English UI with

Code: Select all

vlc.exe --language=en --version
but it still produces the language dependent output.

Any comment?
-- rpr.

Re: issues with "vlc.exe --version"

Posted: 13 Feb 2014 21:54
by Jean-Baptiste Kempf
I'm afraid all your observations are correct. Patches to fix are welcome.