Debian Codegraph @

_progress

raw
1 #compdef progress
2 # ------------------------------------------------------------------------------
3 # Description
4 # -----------
5 #
6 # zsh completion script for progress
7 #
8 # ------------------------------------------------------------------------------
9
10 local options=(
11 {-q,--quiet}'[hides all messages]'
12 {-d,--debug}'[shows all warning/error messages]'
13 {-w,--wait}'[estimate I/O throughput and ETA (slower display)]'
14 '(-w)'{-W,--wait-delay}'[wait 'secs' seconds for I/O estimation (implies -w, default=1.0)]:secs'
15 {-m,--monitor}'[loop while monitored processes are still running]'
16 {-M,--monitor-continuously}'[like monitor but never stop (similar to watch progress)]'
17 {-a,--additional-command}'[add additional command to default command list]: :{_command_names -e}'
18 {-c,--command}'[monitor only this command name (ex: firefox)]: :{_command_names -e}'
19 {-p,--pid}'[monitor only this process ID (ex: $(pidof firefox))]: :_ps'
20 {-i,--ignore-file}'[do not report process if using file]: :_files'
21 {-o,--open-mode}'[report only files opened for read or write]:rw:(r w)'
22 '(- : *)'{-v,--version}'[show program version and exit]'
23 '(- : *)'{-h,--help}'[display this help and exit]'
24 )
25 _arguments -s -S $options