MCPcopy
hub / github.com/perkeep/perkeep / checkFlags

Method checkFlags

dev/devcam/put.go:104–109  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

102}
103
104func (c *putCmd) checkFlags(args []string) error {
105 if _, err := strconv.ParseInt(c.port, 0, 0); err != nil {
106 return fmt.Errorf("Invalid -port value: %q", c.port)
107 }
108 return nil
109}

Callers 1

RunCommandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected