source: code/trunk/cmd/mai/flag.go@ 63

Last change on this file since 63 was 63, checked in by yakumo.izuru, 17 months ago

今すぐv1をリリースすべきでしょうか?

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File size: 230 bytes
RevLine 
[56]1// Set up a basic command line flags parsing
2package main
3
4import (
5 "flag"
6)
7
8func parseFlags() {
9 flag.StringVar(&configfile, "f", "", "Configuration file")
[63]10 flag.BoolVar(&verbose, "v", false, "Verbose logging")
[56]11 flag.Parse()
12}
Note: See TracBrowser for help on using the repository browser.