Add basic test on -h for all the commands

This commit is contained in:
Eric Coissac
2025-03-08 16:28:06 +01:00
parent 65bd29b955
commit 78caabd2fd
34 changed files with 2872 additions and 3 deletions

View File

@ -76,7 +76,7 @@ func GenerateOptionParser(optionset ...func(*getoptions.GetOpt)) ArgumentParser
if options.Called("help") {
fmt.Fprint(os.Stderr, options.Help())
os.Exit(1)
os.Exit(0)
}
if options.Called("version") {