diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2004-02-04 14:33:21 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2004-02-04 14:33:21 +0000 |
commit | 97ab9b22d71efe9ce9df1434981c04c611e87077 (patch) | |
tree | 79b02d5197e6e6be09f9f93085896f7c2ddd2170 | |
parent | e461877f4063348b5c02aae691367c3cb155eeb7 (diff) | |
download | zsh-97ab9b22d71efe9ce9df1434981c04c611e87077.tar.gz zsh-97ab9b22d71efe9ce9df1434981c04c611e87077.tar.xz zsh-97ab9b22d71efe9ce9df1434981c04c611e87077.zip |
Mikael Magnusson: 19405: new completion for gphoto2
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/.distfiles | 2 | ||||
-rw-r--r-- | Completion/Unix/Command/_gphoto2 | 47 |
3 files changed, 53 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 93190cf0b..d03d28e49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-02-04 Oliver Kiddle <opk@zsh.org> + + * Mikael Magnusson: 19405: Completion/Unix/Command/_gphoto2: + new completion for gphoto2 + 2004-01-22 Peter Stephenson <pws@csr.com> * 19389 plus added stdunsetfn to EPOCHSECONDS: diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles index be652bdc9..8efe54c00 100644 --- a/Completion/Unix/Command/.distfiles +++ b/Completion/Unix/Command/.distfiles @@ -21,7 +21,7 @@ _netcat _larch _texinfo _figlet _elinks _tidy _global _ant _lsof _mt _xmlsoft _perforce _python _antiword _screen _renice _apm _ecasound _gpg _subversion _aap _sablotron _nmap -_chmod _du _getent +_chmod _du _getent _gphoto2 _nice _rar _vorbis _printenv ' diff --git a/Completion/Unix/Command/_gphoto2 b/Completion/Unix/Command/_gphoto2 new file mode 100644 index 000000000..95d8a49b7 --- /dev/null +++ b/Completion/Unix/Command/_gphoto2 @@ -0,0 +1,47 @@ +#compdef gphoto2 + +_arguments -s \ + '--debug[turn on debugging]' \ + '(-q --quiet)'{-q,--quiet}'[quiet output]' \ + '(-v --version)'{-v,--version}'[display version and exit]' \ + '(-h --help)'{-h,--help}'[display a short usage message]' \ + '--list-cameras[list supported camera models]' \ + '--list-ports[list supported port devices]' \ + '--stdout[send file to stdout]' \ + '--stdout-size[print filesize before data]' \ + '--auto-detect[list auto-detected cameras]' \ + '--port[specify port device]:port' \ + '--speed[specify serial transfer speed]:speed' \ + '--camera[specify camera model]:camera model' \ + '--filename[specify pattern to save file as]:pattern' \ + '--usbid[override USB IDs (expert only)]:usbid' \ + '(-a --abilities)'{-a,--abilities}'[display camera abilities]' \ + '(-f --folder)'{-f,--folder}'[specify camera folder]:folder' \ + '(-R --recurse --no-recurse)'{-R,--recurse}'[recursion (default for download)]' \ + '(-R --recurse)--no-recurse[no recursion (default for deletion)]' \ + '(-l --list-folders)'{-l,--list-folders}'[list folders in folder]' \ + '(-L --list-files)'{-L,--list-files}'[list files in folder]' \ + '(-m --mkdir)'{-m,--mkdir}'[create a directory]:directory' \ + '(-r --rmdir)'{-r,--rmdir}'[remove a directory]:directory' \ + '(-n --num-files)'{-n,--num-files}'[sisplay number of files]' \ + '(-p --get-file)'{-p,--get-file}'[get files given in range]:range' \ + '(-P --get-all-files)'{-P,--get-all-files}'[get all files from folder]' \ + '(-t --get-thumbnail)'{-t,--get-thumbnail}'[get thumbnails given in range]:range' \ + '(-T --get-all-thumbnails)'{-T,--get-all-thumbnails}'[get all thumbnails from folder]' \ + '(-r --get-raw-data)'{-r,--get-raw-data}'[get raw data given in range]:range' \ + '--get-all-raw-data[get all raw data from folder]' \ + '--get-audio-data[get audio data given in range]:range' \ + '--get-all-audio-data[get all audio data from folder]' \ + '--delete-files[delete files given in range]:range' \ + '--delete-all-files[delete all files in folder]' \ + '(-u --upload-file)'{-u,--upload-file}'[upload a file to camera]:file:_files' \ + '--capture-preview[capture a quick preview]' \ + '--capture-image[capture an image]' \ + '--capture-movie[capture a movie]' \ + '--capture-sound[capture an audio clip]' \ + '--show-info[show info about given range]:range' \ + '--summary[summary of camera status]' \ + '--manual[camera driver manual]' \ + '--about[show information about the camera driver]' \ + '--shell[start the gphoto2 shell]' + |