Skip to content

Commit 5f0269a

Browse files
authored
Merge pull request #673 from tavisrudd/patch-1
fix: multiple syntax errors / missing quotes in hwloc bash completions
2 parents 603b272 + 1a6f64b commit 5f0269a

File tree

1 file changed

+4
-4
lines changed
  • contrib/completion/bash

1 file changed

+4
-4
lines changed

contrib/completion/bash/hwloc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ _lstopo() {
148148
COMPREPLY=( `compgen -W "links merge-switch-ports transitive-closure" -- "$cur"` )
149149
;;
150150
--cpuset-output-format | --cof)
151-
COMPREPLY=( "hwloc" "list" taskset" )
151+
COMPREPLY=( "hwloc" "list" "taskset" )
152152
;;
153153
esac
154154
fi
@@ -293,7 +293,7 @@ _hwloc_bind(){
293293
COMPREPLY=( "<memattr>" "" )
294294
;;
295295
--cpuset-output-format | --cof)
296-
COMPREPLY=( "hwloc" "list" taskset" )
296+
COMPREPLY=( "hwloc" "list" "taskset" )
297297
;;
298298
esac
299299
fi
@@ -373,7 +373,7 @@ _hwloc_calc(){
373373
COMPREPLY=( "<name>=<value>" "<n>" "" )
374374
;;
375375
--cpuset-input-format | --cif | --cpuset-output-format | --cof)
376-
COMPREPLY=( "hwloc" "list" taskset" )
376+
COMPREPLY=( "hwloc" "list" "taskset" )
377377
;;
378378
esac
379379
fi
@@ -488,7 +488,7 @@ _hwloc_distrib(){
488488
COMPREPLY=( "<integer>" "" )
489489
;;
490490
--cpuset-output-format | --cof)
491-
COMPREPLY=( "hwloc" "list" taskset" )
491+
COMPREPLY=( "hwloc" "list" "taskset" )
492492
;;
493493
esac
494494
fi

0 commit comments

Comments
 (0)