Index: utils/completions/fish/Makefile ================================================================== --- utils/completions/fish/Makefile +++ utils/completions/fish/Makefile @@ -1,9 +1,10 @@ DATA = objfw-compile.fish \ objfw-config.fish \ ofarc.fish \ + ofdns.fish \ ofhash.fish \ ofhttp.fish include ../../../buildsys.mk PACKAGE_NAME = fish/vendor_completions.d ADDED utils/completions/fish/ofdns.fish Index: utils/completions/fish/ofdns.fish ================================================================== --- utils/completions/fish/ofdns.fish +++ utils/completions/fish/ofdns.fish @@ -0,0 +1,5 @@ +complete -c ofdns -s c -l class -x -d 'The DNS class to query (defaults to IN)' +complete -c ofdns -s h -l help -d 'Show help' +complete -c ofdns -s s -l server -x -d 'The server to query' +complete -c ofdns -s t -l type -x \ + -d 'The record type to query (defaults to ALL, can be repeated)' Index: utils/completions/fish/ofhttp.fish ================================================================== --- utils/completions/fish/ofhttp.fish +++ utils/completions/fish/ofhttp.fish @@ -1,5 +1,6 @@ +complete -c ofhttp -x complete -c ofhttp -s b -l body -r -d 'Specify the file to send as body' complete -c ofhttp -s c -l continue -d 'Continue download of existing file' complete -c ofhttp -s f -l force -d 'Force / overwrite existing file' complete -c ofhttp -s h -l help -d 'Show help' complete -c ofhttp -s H -l header -x -d 'Add a header (e.g. X-Foo:Bar)'