-h handled
This commit is contained in:
parent
2d9c504241
commit
539175e639
2
dict.go
2
dict.go
@ -17,7 +17,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
if len(os.Args) < 2 {
|
if len(os.Args) < 2 || os.Args[1][0] == '-' {
|
||||||
println("usage:", os.Args[0], "word [{de|es|fr|en...}{de|es|fr|en|...}]")
|
println("usage:", os.Args[0], "word [{de|es|fr|en...}{de|es|fr|en|...}]")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user