mirror of
https://codeberg.org/scip/epuppy.git
synced 2025-12-16 12:01:00 +01:00
fix show version
This commit is contained in:
@@ -114,8 +114,9 @@ func InitConfig(output io.Writer) (*Config, error) {
|
||||
if len(flagset.Args()) > 0 {
|
||||
conf.Document = flagset.Args()[0]
|
||||
} else {
|
||||
flagset.Usage()
|
||||
os.Exit(1)
|
||||
if !conf.Showversion {
|
||||
flagset.Usage()
|
||||
}
|
||||
}
|
||||
|
||||
if conf.Debug {
|
||||
|
||||
Reference in New Issue
Block a user