mirror of
https://github.com/inexio/thola.git
synced 2026-10-24 03:08:55 +03:00
15 lines
400 B
Go
15 lines
400 B
Go
//go:build !client
|
|
// +build !client
|
|
|
|
package cmd
|
|
|
|
import (
|
|
flag "github.com/spf13/pflag"
|
|
)
|
|
|
|
func addBinarySpecificDeviceFlags(fs *flag.FlagSet) {
|
|
fs.StringSlice("snmp-community", defaultSNMPCommunity, "Community strings for SNMP to use")
|
|
fs.StringSlice("snmp-version", defaultSNMPVersion, "SNMP versions to use (1, 2c or 3)")
|
|
fs.IntSlice("snmp-port", defaultSNMPPort, "Ports for SNMP to use")
|
|
}
|