Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
shenwei356 committed Sep 23, 2014
1 parent e0fdc6c commit 97e1e57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file added brename
Binary file not shown.
4 changes: 2 additions & 2 deletions brename.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ Example:
}

flag.Parse()
if src == "" || repl == "" {
flag.Usage()
if src == "" {
fmt.Fprintln(os.Stderr, "option -s should be set")
os.Exit(1)
}
}
Expand Down

0 comments on commit 97e1e57

Please sign in to comment.