summaryrefslogtreecommitdiff
path: root/Completion/X/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/X/Command')
-rw-r--r--Completion/X/Command/_matlab28
-rw-r--r--Completion/X/Command/_mplayer6
-rw-r--r--Completion/X/Command/_okular6
3 files changed, 20 insertions, 20 deletions
diff --git a/Completion/X/Command/_matlab b/Completion/X/Command/_matlab
index 64d076f43..e912b68c1 100644
--- a/Completion/X/Command/_matlab
+++ b/Completion/X/Command/_matlab
@@ -1,19 +1,19 @@
#compdef matlab
_arguments : \
- {-h,-help}'[Display arguments.]' \
- '(-e)-n[Display final environment variables, and exit]' \
- '(-n)-e[Display ALL the environment variables and values, and exit]' \
- '-arch[Start MATLAB assuming architecture arch]:architecture:' \
- '-c[Set location of the license file]:licensefile:_files' \
+ {-h,-help}'[display arguments]' \
+ '(-e)-n[display final environment variables, and exit]' \
+ '(-n)-e[display ALL the environment variables and values, and exit]' \
+ '-arch[start MATLAB assuming architecture arch]:architecture:' \
+ '-c[set location of the license file]:licensefile:_files' \
'(-nodisplay)-display:display:_x_display' \
- '(-display)-nodisplay[Do not display any X commands.]' \
- '-nosplash[Do not display the splash screen during startup.]' \
- '-mwvisual[The default X visual to use for figure windows.]:visualid:' \
- '-debug[Provide debugging information especially for X based problems.]' \
- '(-nodesktop -nojvm)-desktop[Allow the MATLAB desktop to be started by a process without a controlling terminal.]' \
- '(-desktop -nojvm)-nodesktop[Do not start the MATLAB desktop.]' \
- '(-nodesktop -desktop)-nojvm[Shut off all Java support by not starting the Java virtual machine.]' \
- '-r[Start MATLAB and execute the MATLAB_command.]:MATLAB_command:' \
- '-logfile[Make a copy of any output to the command window in file log.]:log file:' \
+ '(-display)-nodisplay[do not display any X commands]' \
+ '-nosplash[do not display the splash screen during startup]' \
+ '-mwvisual[the default X visual to use for figure windows]:visualid:' \
+ '-debug[provide debugging information especially for X based problems]' \
+ '(-nodesktop -nojvm)-desktop[allow the MATLAB desktop to be started by a process without a controlling terminal]' \
+ '(-desktop -nojvm)-nodesktop[do not start the MATLAB desktop]' \
+ '(-nodesktop -desktop)-nojvm[shut off all Java support by not starting the Java virtual machine]' \
+ '-r[start MATLAB and execute the MATLAB_command]:MATLAB_command:' \
+ '-logfile[make a copy of any output to the command window in file log]:log file:' \
'-D-:debugger:_path_commands'
diff --git a/Completion/X/Command/_mplayer b/Completion/X/Command/_mplayer
index d3d1e6046..85c4f6d12 100644
--- a/Completion/X/Command/_mplayer
+++ b/Completion/X/Command/_mplayer
@@ -77,7 +77,7 @@ _x_arguments -C -s \
'-sid[turn on DVD subtitles]:language id' \
'-speed[set playback speed rate]:playback speed rate' \
'-srate[specify frequency of audio playback]:frequency (Hz)' \
- '-ss[seek to given time position]:position (hh:mm\[\:ss\])' \
+ '-ss[seek to given time position]:position ([[hh\:]mm\:]ss[.sss])' \
'-sstep[specify time between displayed frames]:time (seconds)' \
-ssf:mode -stop_xscreensaver \
'-stereo:mode:((0\:stereo 1\:left\ channel 2\:right\ channel))' \
@@ -108,14 +108,14 @@ _x_arguments -C -s \
'-z[specify compression level for png output]:compression-level:((0\:no\ compression 1 2 3 4 5 6\:default\ compression 7 8 9\:max\ compression))' \
'-zoom[use software scaling, where available (use with -nofs)]' \
-zrbw -zrcrop -zrdev -zrfd -zrhelp -zrnorm -zrquality -zr{h,v}dec -zr{x,y}doff \
- '(-use-stdin)*:video file:->mfiles'
+ '(-use-stdin)*:video file:->mfiles' && ret=0
case "$state" in
mfiles)
_tags files urls
while _tags; do
_requested files expl 'video file' _files -g \
- "*.(#i)(asf|asx|avi|flac|flv|m1v|m2p|m2v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|qt|rm|vob|wav|wma|wmv)(-.)" && ret=0
+ "*.(#i)(asf|asx|avi|flac|flv|m1v|m2p|m2v|m4v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|qt|rm|vob|wav|webm|wma|wmv)(-.)" && ret=0
if _requested urls; then
while _next_label urls expl URL; do
_urls "$expl[@]" && ret=0
diff --git a/Completion/X/Command/_okular b/Completion/X/Command/_okular
index 0b81e2f9d..bfdb4de4b 100644
--- a/Completion/X/Command/_okular
+++ b/Completion/X/Command/_okular
@@ -4,7 +4,7 @@ local extns
extns="{pdf,ps,eps,dvi}(.gz|.bz2)(#c,1)|djvu|tiff|chm|cbr|cbz"
_arguments \
- '(-p --page)'{-p,--page}'[Page of the document to be shown]:page: ' \
- '--presentation[Start the document in presentation mode]' \
- '--unique[Unique instance control]' \
+ '(-p --page)'{-p,--page}'[page of the document to be shown]:page: ' \
+ '--presentation[start the document in presentation mode]' \
+ '--unique[unique instance control]' \
"*:Okular documents:_files -g '*.(#i)($extns)(-.)'"