mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
codegen: Suppress the old --xml-files option in the --help output
Since it’s deprecated in favour of positional arguments, including it in the help output is confusing. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=795304
This commit is contained in:
parent
8916874ee6
commit
3a1536ba34
@ -152,7 +152,7 @@ def codegen_main():
|
||||
arg_parser.add_argument('files', metavar='FILE', nargs='*',
|
||||
help='D-Bus introspection XML file')
|
||||
arg_parser.add_argument('--xml-files', metavar='FILE', action='append', default=[],
|
||||
help='D-Bus introspection XML file')
|
||||
help=argparse.SUPPRESS)
|
||||
arg_parser.add_argument('--interface-prefix', metavar='PREFIX', default='',
|
||||
help='String to strip from D-Bus interface names for code and docs')
|
||||
arg_parser.add_argument('--c-namespace', metavar='NAMESPACE', default='',
|
||||
|
Loading…
Reference in New Issue
Block a user