Skip to content

Commit

Permalink
add shothand flag for remote
Browse files Browse the repository at this point in the history
  • Loading branch information
takashi committed May 8, 2014
1 parent 250eeb8 commit daa6599
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ var runWithRemote bool
func SetArgs() {
f := flag.NewFlagSet(os.Args[0], flag.ExitOnError)
f.BoolVar(&runWithRemote, "remote", false, "will updates remote repo issue(need remote_config option in conf file)")
f.BoolVar(&runWithRemote, "r", false, "will updates remote repo issue(need remote_config option in conf file)")
f.Parse(os.Args[1:])
for 0 < f.NArg() {
f.Parse(f.Args()[1:])
Expand Down

0 comments on commit daa6599

Please sign in to comment.