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

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

プロジェクトの名前を「マイ」に変更します

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