From 715af5950f789c33becd0192d35582902698d6cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Mon, 15 Apr 2019 12:52:07 -0700 Subject: [PATCH] Add suite completion --- completion.d/_aptly | 1 + completion.d/aptly | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/completion.d/_aptly b/completion.d/_aptly index 13de4f09..b2c3a432 100644 --- a/completion.d/_aptly +++ b/completion.d/_aptly @@ -452,6 +452,7 @@ local keyring="*-keyring=[gpg keyring to use when verifying Release file (could "-butautomaticupgrades=[set value for ButAutomaticUpgrades field]:$bool" "-distribution=[distribution name to publish]:distribution:($dists)" "-label=[label to publish]:label: " + "-suite=[suite to publish]:suite: " "-notautomatic=[set value for NotAutomatic field]:notautomatic: " "-origin=[origin name to publish]:origin: " ${components_options[@]} diff --git a/completion.d/aptly b/completion.d/aptly index 0308653e..088aac9f 100644 --- a/completion.d/aptly +++ b/completion.d/aptly @@ -499,7 +499,7 @@ _aptly() "snapshot"|"repo") if [[ $numargs -eq 0 ]]; then if [[ "$cur" == -* ]]; then - COMPREPLY=($(compgen -W "-acquire-by-hash -batch -butautomaticupgrades= -component= -distribution= -force-overwrite -gpg-key= -keyring= -label= -notautomatic= -origin= -passphrase= -passphrase-file= -secret-keyring= -skip-contents -skip-signing" -- ${cur})) + COMPREPLY=($(compgen -W "-acquire-by-hash -batch -butautomaticupgrades= -component= -distribution= -force-overwrite -gpg-key= -keyring= -label= -suite= -notautomatic= -origin= -passphrase= -passphrase-file= -secret-keyring= -skip-contents -skip-signing" -- ${cur})) else if [[ "$subcmd" == "snapshot" ]]; then COMPREPLY=($(compgen -W "$(__aptly_snapshot_list)" -- ${cur}))