mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
gdbus-codegen: Fix annotation parsing
It takes 3 options.
This commit is contained in:
parent
97cd6fa2e3
commit
d39731724a
@ -159,7 +159,7 @@ def codegen_main():
|
||||
help='Generate C code in OUTFILES.[ch]')
|
||||
arg_parser.add_option('', '--generate-docbook', metavar='OUTFILES',
|
||||
help='Generate Docbook in OUTFILES-org.Project.IFace.xml')
|
||||
arg_parser.add_option('', '--annotate', action='append', metavar='WHAT,KEY,VALUE',
|
||||
arg_parser.add_option('', '--annotate', nargs=3, action='append', metavar='WHAT KEY VALUE',
|
||||
help='Add annotation (may be used several times)')
|
||||
(opts, args) = arg_parser.parse_args();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user