Skip to content
Snippets Groups Projects
Commit c611bd6f authored by Mark OLESEN's avatar Mark OLESEN
Browse files

CONFIG: add hostCollated for -fileHandler completion

- in anticipation of future change,
  hard-coded choice within bash_completion
parent 10941280
Branches
Tags
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# ========= | # ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | # \\ / O peration |
# \\ / A nd | Copyright (C) 2017 OpenCFD Ltd. # \\ / A nd | Copyright (C) 2017-2018 OpenCFD Ltd.
# \\/ M anipulation | # \\/ M anipulation |
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# License # License
...@@ -109,7 +109,7 @@ _of_complete_() ...@@ -109,7 +109,7 @@ _of_complete_()
local choices local choices
case ${prev} in case ${prev} in
-help|-help-full|-doc|-doc-source) -help | -help-full | -doc | -doc-source)
# These options are usage - we can stop now. # These options are usage - we can stop now.
COMPREPLY=() COMPREPLY=()
return 0 return 0
...@@ -126,7 +126,7 @@ _of_complete_() ...@@ -126,7 +126,7 @@ _of_complete_()
COMPREPLY=($(compgen -W "$choices" -- ${cur})) COMPREPLY=($(compgen -W "$choices" -- ${cur}))
;; ;;
-fileHandler) -fileHandler)
choices="collated uncollated masterUncollated" choices="collated uncollated hostCollated masterUncollated"
COMPREPLY=($(compgen -W "$choices" -- ${cur})) COMPREPLY=($(compgen -W "$choices" -- ${cur}))
;; ;;
*) *)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment