Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
f44cc88b
Commit
f44cc88b
authored
Sep 06, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Usage: vlc, not Usage: libvlc
parent
cf270dd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
15 deletions
+3
-15
src/libvlc.c
src/libvlc.c
+3
-15
No files found.
src/libvlc.c
View file @
f44cc88b
...
...
@@ -269,18 +269,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
/* System specific initialization code */
system_Init
(
p_libvlc
,
&
i_argc
,
ppsz_argv
);
/* Get the executable name (similar to the basename command) */
if
(
i_argc
>
0
&&
ppsz_argv
[
0
][
0
]
)
{
free
(
p_libvlc
->
psz_object_name
);
const
char
*
psz_exe
=
strrchr
(
ppsz_argv
[
0
],
'/'
);
if
(
psz_exe
&&
*
(
psz_exe
+
1
)
)
p_libvlc
->
psz_object_name
=
strdup
(
psz_exe
+
1
);
else
p_libvlc
->
psz_object_name
=
strdup
(
ppsz_argv
[
0
]
);
}
/*
* Support for gettext
*/
...
...
@@ -1318,20 +1306,20 @@ static void Help( libvlc_int_t *p_this, char const *psz_help_name )
if
(
psz_help_name
&&
!
strcmp
(
psz_help_name
,
"help"
)
)
{
utf8_fprintf
(
stdout
,
vlc_usage
,
p_this
->
psz_object_name
);
utf8_fprintf
(
stdout
,
vlc_usage
,
"vlc"
);
Usage
(
p_this
,
"=help"
);
Usage
(
p_this
,
"=main"
);
print_help_on_full_help
();
}
else
if
(
psz_help_name
&&
!
strcmp
(
psz_help_name
,
"longhelp"
)
)
{
utf8_fprintf
(
stdout
,
vlc_usage
,
p_this
->
psz_object_name
);
utf8_fprintf
(
stdout
,
vlc_usage
,
"vlc"
);
Usage
(
p_this
,
NULL
);
print_help_on_full_help
();
}
else
if
(
psz_help_name
&&
!
strcmp
(
psz_help_name
,
"full-help"
)
)
{
utf8_fprintf
(
stdout
,
vlc_usage
,
p_this
->
psz_object_name
);
utf8_fprintf
(
stdout
,
vlc_usage
,
"vlc"
);
Usage
(
p_this
,
NULL
);
}
else
if
(
psz_help_name
)
...
...
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