From 8fdabdebe009f75d26fbfa76938adaabef5ea994 Mon Sep 17 00:00:00 2001 From: Christophe Meynard Date: Wed, 13 Mar 2024 10:59:22 +0100 Subject: [PATCH] MMVII: bash completion:fix completion of arbitrary file name used as input --- MMVII/bash-completion/mmvii-completion | 2 +- MMVII/bash-completion/mmvii-completion.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MMVII/bash-completion/mmvii-completion b/MMVII/bash-completion/mmvii-completion index 871e1cd74e..419bb6d65a 100644 --- a/MMVII/bash-completion/mmvii-completion +++ b/MMVII/bash-completion/mmvii-completion @@ -206,7 +206,7 @@ def printSpecHelp(all_specs, spec, value) -> None: extensions += ['.xml','.json'] printFiles(value,extensions) return - file_types = ('FDP','I','Out','OptEx') + file_types = ('FDP','In','Out','OptEx') if len(set(semantic).intersection(file_types)): printFiles(value) return diff --git a/MMVII/bash-completion/mmvii-completion.py b/MMVII/bash-completion/mmvii-completion.py index af473011dc..ac589f8c2e 100644 --- a/MMVII/bash-completion/mmvii-completion.py +++ b/MMVII/bash-completion/mmvii-completion.py @@ -198,7 +198,7 @@ def printSpecHelp(all_specs, spec, value) -> None: extensions += ['.xml','.json'] printFiles(value,extensions) return - file_types = ('FDP','I','Out','OptEx') + file_types = ('FDP','In','Out','OptEx') if len(set(semantic).intersection(file_types)): printFiles(value) return