Skip to content

Commit

Permalink
completion: fix diff --refname
Browse files Browse the repository at this point in the history
Don't fallthough to xml filenames after setting COMPREPLY for --refname.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
  • Loading branch information
bgoglin committed Jul 28, 2022
1 parent 3329842 commit c57d0fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/completion/bash/hwloc
Expand Up @@ -390,6 +390,7 @@ _hwloc_diff(){
case "$prev" in
--refname)
COMPREPLY=( "<reference topology identifier>" "")
return
;;
esac
fi
Expand Down

0 comments on commit c57d0fe

Please sign in to comment.