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
49d3610f
Commit
49d3610f
authored
Apr 25, 2005
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extras/zsh.cpp: allow completion of --option=value syntax
parent
d287e1a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
extras/zsh.cpp
extras/zsh.cpp
+4
-4
No files found.
extras/zsh.cpp
View file @
49d3610f
...
...
@@ -344,8 +344,8 @@ void PrintOption( char *psz_option, char i_short, char *psz_exclusive,
{
if
(
!
psz_exclusive
)
psz_exclusive
=
""
;
else
asprintf
(
&
psz_exclusive
,
" %s"
,
psz_exclusive
);
printf
(
"
\"
(-%c%s)--%s[%s]"
,
i_short
,
psz_exclusive
,
psz_option
,
psz_text
);
printf
(
"
\"
(-%c%s)--%s
%s
[%s]"
,
i_short
,
psz_exclusive
,
psz_option
,
psz_
args
?
"="
:
""
,
psz_
text
);
if
(
psz_args
)
printf
(
":%s:%s
\"\\\n
"
,
psz_longtext
,
psz_args
);
else
...
...
@@ -361,8 +361,8 @@ void PrintOption( char *psz_option, char i_short, char *psz_exclusive,
else
{
if
(
psz_exclusive
)
printf
(
"
\"
(%s)--%s[%s]"
,
psz_exclusive
,
psz_option
,
psz_text
);
printf
(
"
\"
(%s)--%s
%s
[%s]"
,
psz_exclusive
,
psz_option
,
psz_
args
?
"="
:
""
,
psz_
text
);
else
printf
(
"
\"
--%s[%s]"
,
psz_option
,
psz_text
);
...
...
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