Commit abfc96fa authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Print the changeset with --version

parent a76e38e1
...@@ -1946,11 +1946,13 @@ static void ListModules( libvlc_int_t *p_this, bool b_verbose ) ...@@ -1946,11 +1946,13 @@ static void ListModules( libvlc_int_t *p_this, bool b_verbose )
*****************************************************************************/ *****************************************************************************/
static void Version( void ) static void Version( void )
{ {
extern const char psz_vlc_changeset[];
#ifdef WIN32 #ifdef WIN32
ShowConsole( true ); ShowConsole( true );
#endif #endif
utf8_fprintf( stdout, _("VLC version %s\n"), VLC_Version() ); utf8_fprintf( stdout, _("VLC version %s (%s)\n"), VLC_Version(),
psz_vlc_changeset );
utf8_fprintf( stdout, _("Compiled by %s@%s.%s\n"), utf8_fprintf( stdout, _("Compiled by %s@%s.%s\n"),
VLC_CompileBy(), VLC_CompileHost(), VLC_CompileDomain() ); VLC_CompileBy(), VLC_CompileHost(), VLC_CompileDomain() );
utf8_fprintf( stdout, _("Compiler: %s\n"), VLC_Compiler() ); utf8_fprintf( stdout, _("Compiler: %s\n"), VLC_Compiler() );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment