From de7b8d3fe406f928bddf8b8ecc23f2747d2f8b45 Mon Sep 17 00:00:00 2001 From: HikariKnight Date: Fri, 10 Mar 2023 12:37:32 +0100 Subject: [PATCH] update the help text --- lib/params/params.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/params/params.go b/lib/params/params.go index ceb448f..3fd3824 100644 --- a/lib/params/params.go +++ b/lib/params/params.go @@ -58,19 +58,19 @@ func NewParams() *Params { Help: "List all Network controllers.", }) - related := parser.FlagCounter("r", "related", &argparse.Options{ + iommu_group := parser.IntList("i", "group", &argparse.Options{ Required: false, - Help: "Attempt to list related devices that share Vendor ID or\n\t\t IOMMU Groups (used with -g -u -i and -n), pass -rr if you want to search using both when used with -g -i or -n\n\t\t Note: -rr can be inaccurate or too broad when many devices share Vendor ID", + Help: "List everything in the IOMMU groups given. Supply argument multiple times to list additional groups.", }) - ignore := parser.StringList("R", "ignore", &argparse.Options{ + related := parser.FlagCounter("r", "related", &argparse.Options{ Required: false, - Help: "Ignores passed VendorID (Left part of : in [VendorID:DeviceID]) when doing a --related search, you can use this to ignore unreliable Vendor IDs when doing related searches.", + Help: "Attempt to list related devices that share Vendor ID or\n\t\t IOMMU Groups (used with -g -u -i and -n), pass -rr if you want to search using both when used with -g -i or -n\n\t\t Note: -rr can be inaccurate or too broad when many devices share Vendor ID", }) - iommu_group := parser.IntList("i", "group", &argparse.Options{ + ignore := parser.StringList("R", "ignore", &argparse.Options{ Required: false, - Help: "List everything in the IOMMU groups given. Supply argument multiple times to list additional groups.", + Help: "Ignores passed VendorID (Left part of : in [VendorID:DeviceID]) outside of the selected IOMMU group when doing a --related search, you can use this to ignore unreliable Vendor IDs when doing related searches. (works with -g -u -i and -n)", }) kernelmodules := parser.Flag("k", "kernel", &argparse.Options{