@@ -78,36 +78,36 @@ function __math_custom_completion
7878end
7979
8080complete -c ' math ' -f
81- complete -c ' math ' -n ' __math_should_offer_completions_for " math" ' -l version -d ' Show the version.'
82- complete -c ' math ' -n ' __math_should_offer_completions_for " math" ' -s h -l help -d ' Show help information.'
81+ complete -c ' math ' -n ' __math_should_offer_completions_for " math" ' -l ' version' -d ' Show the version.'
82+ complete -c ' math ' -n ' __math_should_offer_completions_for " math" ' -s ' h ' -l ' help ' -d ' Show help information.'
8383complete -c ' math ' -n ' __math_should_offer_completions_for " math" 1' -fa ' add' -d ' Print the sum of the values.'
8484complete -c ' math ' -n ' __math_should_offer_completions_for " math" 1' -fa ' multiply' -d ' Print the product of the values.'
8585complete -c ' math ' -n ' __math_should_offer_completions_for " math" 1' -fa ' stats' -d ' Calculate descriptive statistics.'
8686complete -c ' math ' -n ' __math_should_offer_completions_for " math" 1' -fa ' help ' -d ' Show subcommand help information.'
87- complete -c ' math ' -n ' __math_should_offer_completions_for " math add" ' -l hex-output -s x -d ' Use hexadecimal notation for the result.'
88- complete -c ' math ' -n ' __math_should_offer_completions_for " math add" ' -l version -d ' Show the version.'
89- complete -c ' math ' -n ' __math_should_offer_completions_for " math add" ' -s h -l help -d ' Show help information.'
90- complete -c ' math ' -n ' __math_should_offer_completions_for " math multiply" ' -l hex-output -s x -d ' Use hexadecimal notation for the result.'
91- complete -c ' math ' -n ' __math_should_offer_completions_for " math multiply" ' -l version -d ' Show the version.'
92- complete -c ' math ' -n ' __math_should_offer_completions_for " math multiply" ' -s h -l help -d ' Show help information.'
93- complete -c ' math ' -n ' __math_should_offer_completions_for " math stats" ' -l version -d ' Show the version.'
94- complete -c ' math ' -n ' __math_should_offer_completions_for " math stats" ' -s h -l help -d ' Show help information.'
87+ complete -c ' math ' -n ' __math_should_offer_completions_for " math add" ' -l ' hex-output' -s ' x ' -d ' Use hexadecimal notation for the result.'
88+ complete -c ' math ' -n ' __math_should_offer_completions_for " math add" ' -l ' version' -d ' Show the version.'
89+ complete -c ' math ' -n ' __math_should_offer_completions_for " math add" ' -s ' h ' -l ' help ' -d ' Show help information.'
90+ complete -c ' math ' -n ' __math_should_offer_completions_for " math multiply" ' -l ' hex-output' -s ' x ' -d ' Use hexadecimal notation for the result.'
91+ complete -c ' math ' -n ' __math_should_offer_completions_for " math multiply" ' -l ' version' -d ' Show the version.'
92+ complete -c ' math ' -n ' __math_should_offer_completions_for " math multiply" ' -s ' h ' -l ' help ' -d ' Show help information.'
93+ complete -c ' math ' -n ' __math_should_offer_completions_for " math stats" ' -l ' version' -d ' Show the version.'
94+ complete -c ' math ' -n ' __math_should_offer_completions_for " math stats" ' -s ' h ' -l ' help ' -d ' Show help information.'
9595complete -c ' math ' -n ' __math_should_offer_completions_for " math stats" 1' -fa ' average' -d ' Print the average of the values.'
9696complete -c ' math ' -n ' __math_should_offer_completions_for " math stats" 1' -fa ' stdev' -d ' Print the standard deviation of the values.'
9797complete -c ' math ' -n ' __math_should_offer_completions_for " math stats" 1' -fa ' quantiles' -d ' Print the quantiles of the values (TBD).'
98- complete -c ' math ' -n ' __math_should_offer_completions_for " math stats average" ' -l kind -d ' The kind of average to provide.' -rfka ' mean median mode'
99- complete -c ' math ' -n ' __math_should_offer_completions_for " math stats average" ' -l version -d ' Show the version.'
100- complete -c ' math ' -n ' __math_should_offer_completions_for " math stats average" ' -s h -l help -d ' Show help information.'
101- complete -c ' math ' -n ' __math_should_offer_completions_for " math stats stdev" ' -l version -d ' Show the version.'
102- complete -c ' math ' -n ' __math_should_offer_completions_for " math stats stdev" ' -s h -l help -d ' Show help information.'
98+ complete -c ' math ' -n ' __math_should_offer_completions_for " math stats average" ' -l ' kind' -d ' The kind of average to provide.' -rfka ' mean median mode'
99+ complete -c ' math ' -n ' __math_should_offer_completions_for " math stats average" ' -l ' version' -d ' Show the version.'
100+ complete -c ' math ' -n ' __math_should_offer_completions_for " math stats average" ' -s ' h ' -l ' help ' -d ' Show help information.'
101+ complete -c ' math ' -n ' __math_should_offer_completions_for " math stats stdev" ' -l ' version' -d ' Show the version.'
102+ complete -c ' math ' -n ' __math_should_offer_completions_for " math stats stdev" ' -s ' h ' -l ' help ' -d ' Show help information.'
103103complete -c ' math ' -n ' __math_should_offer_completions_for " math stats quantiles" 1' -fka ' alphabet alligator branch braggart'
104104complete -c ' math ' -n ' __math_should_offer_completions_for " math stats quantiles" 2' -fka ' (__math_custom_completion ---completion stats quantiles -- customArg (count (__math_tokens -pc )) (__math_tokens -tC ))'
105105complete -c ' math ' -n ' __math_should_offer_completions_for " math stats quantiles" 3' -fka ' (__math_custom_completion ---completion stats quantiles -- customDeprecatedArg)'
106- complete -c ' math ' -n ' __math_should_offer_completions_for " math stats quantiles" ' -l file -rfa ' (set -l exts \ ' txt\' \' md\' ;for p in (string match -e -- \' */\' (commandline -t);or printf \ n)*.{$exts };printf %s\ n $p ;end;__fish_complete_directories (commandline -t) \'\' )'
107- complete -c ' math' -n ' __math_should_offer_completions_for "math stats quantiles"' -l directory -rfa ' (__math_complete_directories)'
108- complete -c ' math' -n ' __math_should_offer_completions_for "math stats quantiles"' -l shell -rfka ' (head -100 /usr/share/dict/words | tail -50)'
109- complete -c ' math' -n ' __math_should_offer_completions_for "math stats quantiles"' -l custom -rfka ' (__math_custom_completion ---completion stats quantiles -- --custom (count (__math_tokens -pc)) (__math_tokens -tC))'
110- complete -c ' math' -n ' __math_should_offer_completions_for "math stats quantiles"' -l custom-deprecated -rfka ' (__math_custom_completion ---completion stats quantiles -- --custom-deprecated)'
111- complete -c ' math' -n ' __math_should_offer_completions_for "math stats quantiles"' -l version -d ' Show the version.'
112- complete -c ' math' -n ' __math_should_offer_completions_for "math stats quantiles"' -s h -l help -d ' Show help information.'
113- complete -c ' math' -n ' __math_should_offer_completions_for "math help"' -l version -d ' Show the version.'
106+ complete -c ' math ' -n ' __math_should_offer_completions_for " math stats quantiles" ' -l ' file ' -rfa ' (set -l exts \ ' txt\' \' md\' ;for p in (string match -e -- \' */\' (commandline -t);or printf \ n)*.{$exts };printf %s\ n $p ;end;__fish_complete_directories (commandline -t) \'\' )'
107+ complete -c ' math' -n ' __math_should_offer_completions_for "math stats quantiles"' -l ' directory' -rfa ' (__math_complete_directories)'
108+ complete -c ' math' -n ' __math_should_offer_completions_for "math stats quantiles"' -l ' shell' -rfka ' (head -100 /usr/share/dict/words | tail -50)'
109+ complete -c ' math' -n ' __math_should_offer_completions_for "math stats quantiles"' -l ' custom' -rfka ' (__math_custom_completion ---completion stats quantiles -- --custom (count (__math_tokens -pc)) (__math_tokens -tC))'
110+ complete -c ' math' -n ' __math_should_offer_completions_for "math stats quantiles"' -l ' custom-deprecated' -rfka ' (__math_custom_completion ---completion stats quantiles -- --custom-deprecated)'
111+ complete -c ' math' -n ' __math_should_offer_completions_for "math stats quantiles"' -l ' version' -d ' Show the version.'
112+ complete -c ' math' -n ' __math_should_offer_completions_for "math stats quantiles"' -s ' h ' -l ' help' -d ' Show help information.'
113+ complete -c ' math' -n ' __math_should_offer_completions_for "math help"' -l ' version' -d ' Show the version.'
0 commit comments