-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The main description is not printed with the --help option
Version of the package:
Comonicon.jl v1.0.6
julia v1.9.3
To Reproduce
Create a file test with contents (taken from the documentation)
#!/usr/bin/env julia
"""
my command line interface.
# Arguments
- `arg`: an argument
# Options
- `-o, --option`: an option that has short option.
# Flags
- `-f, --flag`: a flag that has short flag.
"""
@main function mycmd(arg; option="Sam", flag::Bool=false)
@show arg
@show option
@show flag
end
and run ./test -h in the same folder to find that it correctly prints the arguments and options, but not the main description "my command line interface"
Expected behavior
Show the description "my command line interface" as shown in the documentation after the name of the function.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working