mirror of
https://codeberg.org/scip/epuppy.git
synced 2025-12-17 04:20:59 +01:00
add readme, show help w/o args
This commit is contained in:
@@ -99,6 +99,9 @@ func InitConfig(output io.Writer) (*Config, error) {
|
||||
// arg is the epub file
|
||||
if len(flagset.Args()) > 0 {
|
||||
conf.Document = flagset.Args()[0]
|
||||
} else {
|
||||
flagset.Usage()
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
if conf.Debug {
|
||||
|
||||
Reference in New Issue
Block a user