From a7178ab163ab5be4cc871db5b550cb9814bbd629 Mon Sep 17 00:00:00 2001 From: TJ Rana Date: Mon, 3 Dec 2018 00:46:42 -0500 Subject: [PATCH] Clean up completion descriptions --- share/completions/complete.fish | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/share/completions/complete.fish b/share/completions/complete.fish index 40fef7bb5..e2810fb4b 100644 --- a/share/completions/complete.fish +++ b/share/completions/complete.fish @@ -8,11 +8,15 @@ complete -c complete -s o -l old-option -d "Old style long option to complete" complete -c complete -s f -l no-files -d "Do not use file completion" complete -c complete -s r -l require-parameter -d "Require parameter" complete -c complete -s x -l exclusive -d "Require parameter and do not use file completion" -complete -c complete -s a -l arguments -d "A list of possible arguments" +complete -c complete -s a -l arguments -d "Space-separated list of possible option arguments" complete -c complete -s d -l description -d "Description of completion" -complete -c complete -s u -l unauthorative -d "Option list is not complete" complete -c complete -s e -l erase -d "Remove completion" complete -c complete -s h -l help -d "Display help and exit" -complete -c complete -s C -l do-complete -d "Print all completions for the specified commandline" -complete -c complete -s n -l condition -d "The completion should only be used if the specified command has a zero exit status" -r -complete -c complete -s w -l wraps -d "Inherit completions from the specified command" +complete -c complete -s C -l do-complete -d "Print all completions for current commandline" +complete -c complete -s n -l condition -d "Completion only used if command has zero exit status" -r +complete -c complete -s w -l wraps -d "Inherit completions from specified command" + +# Unused options + +# complete -c complete -s A -l authoritative +# complete -c complete -s u -l unauthoritative -d "Option list is not complete"