Commit 66f6cb98 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

libvlc: Put vlc_usage in the same file than where it is used.

parent cd2b2d91
...@@ -1315,6 +1315,38 @@ static inline void print_help_on_full_help( void ) ...@@ -1315,6 +1315,38 @@ static inline void print_help_on_full_help( void )
utf8_fprintf( stdout, "%s\n", _("To get exhaustive help, use '-H'.") ); utf8_fprintf( stdout, "%s\n", _("To get exhaustive help, use '-H'.") );
} }
static const char vlc_usage[] = N_(
"Usage: %s [options] [stream] ..."
"\nYou can specify multiple streams on the commandline. They will be enqueued in the playlist."
"\nThe first item specified will be played first."
"\n"
"\nOptions-styles:"
"\n --option A global option that is set for the duration of the program."
"\n -option A single letter version of a global --option."
"\n :option An option that only applies to the stream directly before it"
"\n and that overrides previous settings."
"\n"
"\nStream MRL syntax:"
"\n [[access][/demux]://]URL[@[title][:chapter][-[title][:chapter]]] [:option=value ...]"
"\n"
"\n Many of the global --options can also be used as MRL specific :options."
"\n Multiple :option=value pairs can be specified."
"\n"
"\nURL syntax:"
"\n [file://]filename Plain media file"
"\n http://ip:port/file HTTP URL"
"\n ftp://ip:port/file FTP URL"
"\n mms://ip:port/file MMS URL"
"\n screen:// Screen capture"
"\n [dvd://][device][@raw_device] DVD device"
"\n [vcd://][device] VCD device"
"\n [cdda://][device] Audio CD device"
"\n udp://[[<source address>]@[<bind address>][:<bind port>]]"
"\n UDP stream sent by a streaming server"
"\n vlc://pause:<seconds> Special item to pause the playlist for a certain time"
"\n vlc://quit Special item to quit VLC"
"\n");
static void Help( libvlc_int_t *p_this, char const *psz_help_name ) static void Help( libvlc_int_t *p_this, char const *psz_help_name )
{ {
#ifdef WIN32 #ifdef WIN32
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
typedef struct variable_t variable_t; typedef struct variable_t variable_t;
extern const char vlc_usage[];
/* Actions (hot keys) */ /* Actions (hot keys) */
typedef struct action typedef struct action
{ {
......
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