Skip to content
Snippets Groups Projects
Commit 1d312f1d authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

cmdline: advanced options should take precedence

parent 1c6749b8
No related branches found
No related tags found
1 merge request!2991cmdline: advanced options should take precedence
Pipeline #295108 passed with stage
in 13 minutes and 59 seconds
......@@ -95,13 +95,6 @@ bool config_PrintHelp (libvlc_int_t *obj)
{
char *str;
/* Check for short help option */
if (var_InheritBool (obj, "help"))
{
Help (obj, "help");
return true;
}
/* Check for version option */
if (var_InheritBool (obj, "version"))
{
......@@ -133,11 +126,10 @@ bool config_PrintHelp (libvlc_int_t *obj)
Help (obj, "longhelp");
return true;
}
/* Check for module list option */
if (var_InheritBool (obj, "list"))
/* Check for short help option */
if (var_InheritBool (obj, "help"))
{
ListModules (obj, false );
Help (obj, "help");
return true;
}
......@@ -147,6 +139,13 @@ bool config_PrintHelp (libvlc_int_t *obj)
return true;
}
/* Check for module list option */
if (var_InheritBool (obj, "list"))
{
ListModules (obj, false );
return true;
}
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment