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
8a9ed930
Commit
8a9ed930
authored
Dec 24, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/libvlc.c: small fixes to Usage().
parent
26e930b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/libvlc.c
src/libvlc.c
+5
-3
No files found.
src/libvlc.c
View file @
8a9ed930
...
...
@@ -2,7 +2,7 @@
* libvlc.c: main libvlc source
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
* $Id: libvlc.c,v 1.10
5 2003/12/04 16:49:45 sam
Exp $
* $Id: libvlc.c,v 1.10
6 2003/12/24 10:06:53 gbazin
Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -317,7 +317,7 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
/* Check for short help option */
if
(
config_GetInt
(
p_vlc
,
"help"
)
)
{
fprintf
(
stdout
,
_
(
"Usage: %s [options] [items]...
\n
\n
"
),
fprintf
(
stdout
,
_
(
"Usage: %s [options] [items]...
\n
"
),
p_vlc
->
psz_object_name
);
Usage
(
p_vlc
,
"main"
);
Usage
(
p_vlc
,
"help"
);
...
...
@@ -1259,11 +1259,12 @@ static void Usage( vlc_t *p_this, char const *psz_module_name )
{
case
CONFIG_HINT_CATEGORY
:
case
CONFIG_HINT_USAGE
:
fprintf
(
stdout
,
" %s
\n
"
,
p_item
->
psz_text
);
fprintf
(
stdout
,
"
\n
%s
\n
"
,
p_item
->
psz_text
);
break
;
case
CONFIG_ITEM_STRING
:
case
CONFIG_ITEM_FILE
:
case
CONFIG_ITEM_DIRECTORY
:
case
CONFIG_ITEM_MODULE
:
/* We could also have "=<" here */
if
(
!
p_item
->
ppsz_list
)
{
...
...
@@ -1284,6 +1285,7 @@ static void Usage( vlc_t *p_this, char const *psz_module_name )
break
;
}
case
CONFIG_ITEM_INTEGER
:
case
CONFIG_ITEM_KEY
:
/* FIXME: do something a bit more clever */
psz_bra
=
" <"
;
psz_type
=
_
(
"integer"
);
psz_ket
=
">"
;
break
;
case
CONFIG_ITEM_FLOAT
:
...
...
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