Skip to content

Commit

Permalink
Add SATA controllers to flags
Browse files Browse the repository at this point in the history
  • Loading branch information
HikariKnight committed Apr 1, 2023
1 parent 0164ea6 commit 4278a6e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/params/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ func NewParams() *Params {
Help: "List all Network controllers. (use -i # to only display results from specified IOMMU group)",
})

sata := parser.Flag("s", "sata", &argparse.Options{
Required: false,
Help: "List all SATA controllers. (use -i # to only display results from specified IOMMU group)",
})

iommu_group := parser.IntList("i", "group", &argparse.Options{
Required: false,
Help: "List everything in the IOMMU groups given. Supply argument multiple times to list additional groups.",
Expand Down Expand Up @@ -133,6 +138,7 @@ func NewParams() *Params {
pArg.addFlag("gpu", *gpu)
pArg.addFlag("usb", *usb)
pArg.addFlag("nic", *nic)
pArg.addFlag("sata", *sata)
pArg.addFlagCounter("related", *related)
pArg.addStringList("ignore", *ignore)
pArg.addIntList("iommu_group", *iommu_group)
Expand Down

0 comments on commit 4278a6e

Please sign in to comment.