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
072ebbc8
Commit
072ebbc8
authored
Sep 02, 2008
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention --list and --list-verbose if a vlc -p <string> call didn't find anything.
parent
bd69812b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
src/libvlc.c
src/libvlc.c
+16
-1
No files found.
src/libvlc.c
View file @
072ebbc8
...
...
@@ -1395,6 +1395,7 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
bool
b_description_hack
;
bool
b_color
=
config_GetInt
(
p_this
,
"color"
)
>
0
;
bool
b_has_advanced
=
false
;
bool
b_found
=
false
;
memset
(
psz_spaces_text
,
' '
,
PADDING_SPACES
+
LINE_START
);
psz_spaces_text
[
PADDING_SPACES
+
LINE_START
]
=
'\0'
;
...
...
@@ -1474,6 +1475,8 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
continue
;
}
b_found
=
true
;
/* Print name of module */
if
(
strcmp
(
"main"
,
p_parser
->
psz_object_name
)
)
{
...
...
@@ -1784,10 +1787,22 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
utf8_fprintf
(
stdout
,
"
\n
"
WHITE
"%s"
GRAY
" %s
\n
"
,
_
(
"Note:"
),
_
(
"add --advanced to your command line to see advanced options."
));
else
utf8_fprintf
(
stdout
,
"
\n
%s %s
\n
"
,
_
(
"Note:"
),
utf8_fprintf
(
stdout
,
"
\n
%s %s
\n
"
,
_
(
"Note:"
),
_
(
"add --advanced to your command line to see advanced options."
));
}
if
(
!
b_found
)
{
if
(
b_color
)
utf8_fprintf
(
stdout
,
"
\n
"
WHITE
"%s"
GRAY
"
\n
"
,
_
(
"No matching module found. Use --list or"
\
"--list-verbose to list available modules."
)
);
else
utf8_fprintf
(
stdout
,
"
\n
%s
\n
"
,
_
(
"No matching module found. Use --list or"
\
"--list-verbose to list available modules."
)
);
}
/* Release the module list */
vlc_list_release
(
p_list
);
}
...
...
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