Honor required parameters in completions for builtins

This adds the -r (or -x) flag to completions of builtins' options that have a required_argument.
This commit is contained in:
Johannes Altmanninger
2019-09-24 07:43:38 +02:00
committed by David Adam
parent 8230755bfd
commit 2dbbaa6a97
7 changed files with 22 additions and 22 deletions

View File

@@ -1,2 +1,2 @@
complete -f -c math -r
complete -f -c math -s s -l scale -r
complete -f -c math -s s -l scale -r -x