(args []string)
| 105 | } |
| 106 | |
| 107 | func (c *getCmd) checkFlags(args []string) error { |
| 108 | if _, err := strconv.ParseInt(c.port, 0, 0); err != nil { |
| 109 | return fmt.Errorf("Invalid -port value: %q", c.port) |
| 110 | } |
| 111 | return nil |
| 112 | } |
| 113 | |
| 114 | func isSharedMode(args []string) bool { |
| 115 | sharedRgx := regexp.MustCompile("--?shared") |