Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
0c1e9058
Commit
0c1e9058
authored
Sep 02, 2008
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When applicable, mention that modules weren't displayed because they only had advanced options.
parent
072ebbc8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
src/libvlc.c
src/libvlc.c
+19
-1
No files found.
src/libvlc.c
View file @
0c1e9058
...
...
@@ -1396,6 +1396,8 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
bool
b_color
=
config_GetInt
(
p_this
,
"color"
)
>
0
;
bool
b_has_advanced
=
false
;
bool
b_found
=
false
;
int
i_only_advanced
=
0
;
/* Number of modules ignored because they
* only have advanced options */
memset
(
psz_spaces_text
,
' '
,
PADDING_SPACES
+
LINE_START
);
psz_spaces_text
[
PADDING_SPACES
+
LINE_START
]
=
'\0'
;
...
...
@@ -1472,8 +1474,11 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
}
if
(
p_item
==
p_end
)
{
i_only_advanced
++
;
continue
;
}
}
b_found
=
true
;
...
...
@@ -1791,7 +1796,20 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
_
(
"add --advanced to your command line to see advanced options."
));
}
if
(
!
b_found
)
if
(
i_only_advanced
>
0
)
{
if
(
b_color
)
{
utf8_fprintf
(
stdout
,
"
\n
"
WHITE
"%s"
GRAY
" "
,
_
(
"Note:"
)
);
utf8_fprintf
(
stdout
,
_
(
"%d module(s) were not displayed because they only have advanced options.
\n
"
),
i_only_advanced
);
}
else
{
utf8_fprintf
(
stdout
,
"
\n
%s "
,
_
(
"Note:"
)
);
utf8_fprintf
(
stdout
,
_
(
"%d module(s) were not displayed because they only have advanced options.
\n
"
),
i_only_advanced
);
}
}
else
if
(
!
b_found
)
{
if
(
b_color
)
utf8_fprintf
(
stdout
,
"
\n
"
WHITE
"%s"
GRAY
"
\n
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment