Skip to content

Commit

Permalink
qemu: add -machine arg completion
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed May 26, 2020
1 parent 7dc4f61 commit 11cd174
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions completions/qemu
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ _qemu()
'/^[[:lower:]]/ {print $1}') all" -- "$cur"))
return
;;
-M)
COMPREPLY=($(compgen -W "$($1 -M help | awk \
-machine | -M)
COMPREPLY=($(compgen -W "$($1 $prev help | awk \
'/^[[:lower:]]/ {print $1}')" -- "$cur"))
return
;;
Expand Down

0 comments on commit 11cd174

Please sign in to comment.