Skip to content

Commit 4ac918f

Browse files
inconstantescop
authored andcommitted
feat(aptitude): update sub-commands
The following commands are listed in the manpage and were missing from the completion file: build-depends extract-cache-subset help Whereas the following commands are not listed in the manpage nor in the documentation: dist-upgrade upgrade Moreover, build-depends and build-deps are aliases, and bash-completion guidelines (CONTRIBUTING.md) recommend using the longer version. This patch updates the list and sorts it by-name. Suggested-by: Heinrich Schuchardt <[email protected]> Suggested-by: Koichi Murase <[email protected]>
1 parent af8a80d commit 4ac918f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

completions/aptitude

+5-5
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ _comp_cmd_aptitude()
9494
_comp_compgen -- -W '"${COMPREPLY[@]}"' \
9595
${exclude_flags:+-X "-[$exclude_flags]"}
9696
else
97-
_comp_compgen -- -W 'update upgrade safe-upgrade forget-new clean
98-
autoclean install reinstall remove hold unhold purge markauto
99-
unmarkauto why why-not dist-upgrade full-upgrade download search
100-
show forbid-version changelog keep keep-all build-dep add-user-tag
101-
remove-user-tag versions'
97+
_comp_compgen -- -W 'add-user-tag autoclean build-depends changelog
98+
clean download extract-cache-subset forbid-version forget-new
99+
full-upgrade help hold install keep keep-all markauto purge
100+
reinstall remove remove-user-tag safe-upgrade search show showsrc
101+
source unhold unmarkauto update versions why why-not'
102102
fi
103103

104104
} &&

0 commit comments

Comments
 (0)