diff --git a/completion.d/_aptly b/completion.d/_aptly index a1f4d859..6a70dfe3 100644 --- a/completion.d/_aptly +++ b/completion.d/_aptly @@ -185,6 +185,7 @@ local keyring="*-keyring=[gpg keyring to use when verifying Release file (could $keyring \ "-with-sources=[download source packages in addition to binary packages]:$bool" \ "-with-udebs=[download .udeb packages (Debian installer support)]:$bool" \ + "-with-appstream=[download AppStream (DEP-11) metadata]:$bool" \ "(-)2:new mirror name: " ":archive url:_urls" ":distribution:($dists)" "*:components:_values -s ' ' components $components" ;; list) @@ -224,6 +225,7 @@ local keyring="*-keyring=[gpg keyring to use when verifying Release file (could "-filter-with-deps=[when filtering, include dependencies of matching packages as well]:$bool" \ "-with-sources=[download source packages in addition to binary packages]:$bool" \ "-with-udebs=[download .udeb packages (Debian installer support)]:$bool" \ + "-with-appstream=[download AppStream (DEP-11) metadata]:$bool" \ "(-)2:mirror name:$mirrors" ;; search) diff --git a/completion.d/aptly b/completion.d/aptly index aa5b506f..bdfbe722 100644 --- a/completion.d/aptly +++ b/completion.d/aptly @@ -203,7 +203,7 @@ _aptly() "create") if [[ $numargs -eq 0 ]]; then if [[ "$cur" == -* ]]; then - COMPREPLY=($(compgen -W "-filter= -filter-with-deps -force-components -ignore-signatures -keyring= -with-installer -with-sources -with-udebs" -- ${cur})) + COMPREPLY=($(compgen -W "-filter= -filter-with-deps -force-components -ignore-signatures -keyring= -with-appstream -with-installer -with-sources -with-udebs" -- ${cur})) return 0 fi fi @@ -211,7 +211,7 @@ _aptly() "edit") if [[ $numargs -eq 0 ]]; then if [[ "$cur" == -* ]]; then - COMPREPLY=($(compgen -W "-archive-url= -filter= -filter-with-deps -ignore-signatures -keyring= -with-installer -with-sources -with-udebs" -- ${cur})) + COMPREPLY=($(compgen -W "-archive-url= -filter= -filter-with-deps -ignore-signatures -keyring= -with-appstream -with-installer -with-sources -with-udebs" -- ${cur})) else COMPREPLY=($(compgen -W "$(__aptly_mirror_list)" -- ${cur})) fi