Skip to content

Commit

Permalink
Merge pull request #8 from jftuga/dhcp
Browse files Browse the repository at this point in the history
improve -a flag description
  • Loading branch information
jftuga authored Jul 31, 2024
2 parents 85ddf90 + e0500be commit a5ed8f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Display information about Network Interface Cards (NICs). This program's output
```
nics: Display information about Network Interface Cards (NICs)
usage: nics [options]
-a show all details on ALL interfaces, including DHCP
-a show all details on ALL interfaces, includes DHCP info on Windows
-d show debug information
-i string
interface name
Expand Down
4 changes: 2 additions & 2 deletions nics.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/olekukonko/tablewriter"
)

const version = "1.5.1"
const version = "1.5.2"

func isBriefEntry(ifaceName, macAddr, mtu, flags string, ipv4List, ipv6List []string, debug bool) bool {
if debug {
Expand Down Expand Up @@ -165,7 +165,7 @@ func networkInterfaces(brief bool, debug bool, singleInterface string) ([]string
}

func main() {
argsAllDetails := flag.Bool("a", false, "show all details on ALL interfaces, including DHCP")
argsAllDetails := flag.Bool("a", false, "show all details on ALL interfaces, includes DHCP info on Windows")
argsDebug := flag.Bool("d", false, "show debug information")
argsVersion := flag.Bool("v", false, "show program version")
argsSingleInterface := flag.String("i", "", "interface name")
Expand Down

0 comments on commit a5ed8f6

Please sign in to comment.