Skip to content

Commit 128f139

Browse files
committed
completion/bash: add missing INPUT_FORMAT definition in some functions
Signed-off-by: Brice Goglin <[email protected]>
1 parent d79e045 commit 128f139

File tree

1 file changed

+3
-0
lines changed
  • contrib/completion/bash

1 file changed

+3
-0
lines changed

contrib/completion/bash/hwloc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ complete -F _lstopo hwloc-ls
159159

160160

161161
_hwloc_info(){
162+
local INPUT_FORMAT=(xml synthetic fsroot cpuid)
162163
local TYPES=("Machine" "Misc" "Group" "NUMANode" "MemCache" "Package" "Die" "L1" "L2" "L3" "L4" "L5" "L1i" "L2i" "L3i" "Core" "Bridge" "PCIDev" "OSDev" "PU")
163164
local FILTERKINDS=("none" "all" "structure" "important")
164165
local OPTIONS=(--objects
@@ -302,6 +303,7 @@ complete -F _hwloc_bind hwloc-bind
302303

303304

304305
_hwloc_calc(){
306+
local INPUT_FORMAT=(xml synthetic fsroot cpuid)
305307
local TYPES=("Machine" "Misc" "Group" "NUMANode" "MemCache" "Package" "Die" "L1" "L2" "L3" "L4" "L5" "L1i" "L2i" "L3i" "Core" "Bridge" "PCIDev" "OSDev" "PU")
306308
local OPTIONS=(-N --number-of
307309
-I --intersect
@@ -448,6 +450,7 @@ complete -F _hwloc_compress_dir hwloc-compress-dir
448450

449451

450452
_hwloc_distrib(){
453+
local INPUT_FORMAT=(xml synthetic fsroot cpuid)
451454
local TYPES=("Machine" "Misc" "Group" "NUMANode" "MemCache" "Package" "Die" "L1" "L2" "L3" "L4" "L5" "L1i" "L2i" "L3i" "Core" "Bridge" "PCIDev" "OSDev" "PU")
452455
local OPTIONS=(--ignore
453456
--from

0 commit comments

Comments
 (0)