mirror of
https://github.com/itchyny/mmv.git
synced 2025-12-26 22:24:58 +08:00
change version flag to be long for now
This commit is contained in:
parent
8d8f64a51c
commit
168a6db008
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ Options:
|
|||
fs.PrintDefaults()
|
||||
}
|
||||
var showVersion bool
|
||||
fs.BoolVar(&showVersion, "v", false, "print version")
|
||||
fs.BoolVar(&showVersion, "version", false, "print version")
|
||||
if err := fs.Parse(args); err != nil {
|
||||
if err == flag.ErrHelp {
|
||||
return exitCodeOK
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue