|
VLC
3.0.15
|

Macros | |
| #define | ShowConsole() (void)0 |
| #define | PauseConsole() (void)0 |
| #define | COL(x) "\033[" #x ";1m" |
| #define | RED COL(31) |
| #define | GREEN COL(32) |
| #define | YELLOW COL(33) |
| #define | BLUE COL(34) |
| #define | MAGENTA COL(35) |
| #define | CYAN COL(36) |
| #define | WHITE COL(0) |
| #define | GRAY "\033[0m" |
| #define | LINE_START 8 |
| #define | PADDING_SPACES 25 |
| #define | OPTION_VALUE_SEP " " |
Functions | |
| static void | Help (vlc_object_t *, const char *) |
| static void | Usage (vlc_object_t *, const char *) |
| static void | Version (void) |
| static void | ListModules (vlc_object_t *, bool) |
| static unsigned | ConsoleWidth (void) |
| Returns the console width or a best guess. More... | |
| bool | config_PrintHelp (vlc_object_t *obj) |
| Checks for help command line options such as –help or –version. More... | |
| static void | print_help_on_full_help (void) |
| static void | print_section (const module_t *m, const module_config_t **sect, bool color, bool desc) |
| static void | print_desc (const char *str, unsigned margin, bool color) |
| static int | vlc_swidth (const char *str) |
| static void | print_item (const vlc_object_t *p_this, const module_t *m, const module_config_t *item, const module_config_t **section, bool color, bool desc) |
| static bool | module_match (const module_t *m, const char *pattern, bool strict) |
| static bool | plugin_show (const vlc_plugin_t *plugin, bool advanced) |
Variables | |
| static const char | vlc_usage [] |
| #define BLUE COL(34) |
| #define COL | ( | x | ) | "\033[" #x ";1m" |
| #define CYAN COL(36) |
| #define GRAY "\033[0m" |
| #define GREEN COL(32) |
| #define LINE_START 8 |
| #define MAGENTA COL(35) |
| #define OPTION_VALUE_SEP " " |
| #define PADDING_SPACES 25 |
| #define PauseConsole | ( | ) | (void)0 |
| #define RED COL(31) |
| #define ShowConsole | ( | ) | (void)0 |
| #define WHITE COL(0) |
| #define YELLOW COL(33) |
| bool config_PrintHelp | ( | vlc_object_t * | obj | ) |
Checks for help command line options such as –help or –version.
If one is found, print the corresponding text.
References Help(), ListModules(), var_Create, var_InheritBool, var_InheritString, var_SetBool, Version(), and VLC_VAR_BOOL.
Referenced by libvlc_InternalInit().
|
static |
Returns the console width or a best guess.
|
static |
Referenced by config_PrintHelp().
|
static |
References count, CYAN, GRAY, GREEN, module_t::i_score, module_t::i_shortcuts, list, MAGENTA, module_get_object(), module_gettext(), module_list_free(), module_list_get(), PauseConsole, module_t::pp_shortcuts, module_t::psz_capability, module_t::psz_longname, ShowConsole, var_InheritBool, and WHITE.
Referenced by config_PrintHelp().
|
static |
|
static |
|
static |
|
inlinestatic |
References _.
|
static |
|
static |
References GRAY, MAGENTA, module_gettext(), module_config_t::psz_longtext, module_config_t::psz_text, and RED.
|
static |
|
static |
References _, LICENSE_MSG, PauseConsole, psz_vlc_changeset, ShowConsole, VLC_CompileBy(), VLC_CompileHost(), and VLC_Compiler().
Referenced by config_PrintHelp().
|
static |
|
static |
1.8.16