Usage: "Set WARNING status if more than INTEGER users are logged in"}, cli.IntFlag{ Name: "c, critical", Value: 10, Usage: "Set CRITICAL status if more than INTEGER users are logged in"}, } app.Run(os.Args) } func doMain(c *cli.Context) { fmt.Println(c.Int("w")) }