From c611bd6f94abc75adab777292386feb88799c6c0 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Thu, 7 Jun 2018 15:43:46 +0200 Subject: [PATCH] CONFIG: add hostCollated for -fileHandler completion - in anticipation of future change, hard-coded choice within bash_completion --- etc/config.sh/bash_completion | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/config.sh/bash_completion b/etc/config.sh/bash_completion index 493837b2ee..afa2f7c60a 100644 --- a/etc/config.sh/bash_completion +++ b/etc/config.sh/bash_completion @@ -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})) ;; *)