fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

David Adamcompletions/dput: add new completions4a4d35b62

master
1.3 KiB19 linesraw
1complete -c dput -s c -l config -d "Configuration file" -r
2complete -c dput -s d -l debug -d "Display debugging messages"
3complete -c dput -s D -l dinstall -d "Request dry-run of dinstall after upload"
4complete -c dput -s f -l force -d "Disable check for unique upload"
5complete -c dput -s h -l help -d "Display help"
6complete -c dput -s H -l host-list -d "Display hosts listed in configuration"
7complete -c dput -s l -l lintian -d "Enable the Lintian verification check"
8complete -c dput -s U -l no-upload-log -d "Do not write a log file for uploads"
9complete -c dput -s o -l check-only -d "Don't check the signatures or upload the files"
10complete -c dput -s p -l print -d "Print the dput configuration"
11complete -c dput -s P -l passive -d "Use passive mode for FTP"
12complete -c dput -s s -l simulate -d "Do not upload the files"
13complete -c dput -s e -l delayed -d "Upload to a delayed queue" -r
14complete -c dput -s v -l version -d "Print the version"
15complete -c dput -s V -l check-version -d "Enable the local install check"
16
17complete -c dput -x -a '(dput --host-list | string match --regex --groups-only "(.+) => .*")' -d "Upload host" -n __fish_is_first_arg
18# dput validates that filenames end in .changes
19complete -c dput -x -a '(complete -C"\'\' $(commandline -ct)" | string match -re "(?:/|.changes)\$")'