CONFIG: add hostCollated for -fileHandler completion
- in anticipation of future change, hard-coded choice within bash_completion
This commit is contained in:
parent
10941280cb
commit
c611bd6f94
@ -2,7 +2,7 @@
|
||||
# ========= |
|
||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
# \\ / O peration |
|
||||
# \\ / A nd | Copyright (C) 2017 OpenCFD Ltd.
|
||||
# \\ / A nd | Copyright (C) 2017-2018 OpenCFD Ltd.
|
||||
# \\/ M anipulation |
|
||||
#------------------------------------------------------------------------------
|
||||
# License
|
||||
@ -109,7 +109,7 @@ _of_complete_()
|
||||
local choices
|
||||
|
||||
case ${prev} in
|
||||
-help|-help-full|-doc|-doc-source)
|
||||
-help | -help-full | -doc | -doc-source)
|
||||
# These options are usage - we can stop now.
|
||||
COMPREPLY=()
|
||||
return 0
|
||||
@ -126,7 +126,7 @@ _of_complete_()
|
||||
COMPREPLY=($(compgen -W "$choices" -- ${cur}))
|
||||
;;
|
||||
-fileHandler)
|
||||
choices="collated uncollated masterUncollated"
|
||||
choices="collated uncollated hostCollated masterUncollated"
|
||||
COMPREPLY=($(compgen -W "$choices" -- ${cur}))
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user