mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 22:54:25 +01:00
tools/generate-wire.py: add option to expose tlv_record_type
Next update adds TLV test vectors: without this, we get a warning about them being unused. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
9b88fd4c60
commit
b10e0e08bb
@@ -628,6 +628,7 @@ if __name__ == "__main__":
|
||||
parser.add_argument("-P", "--print_wire", help="generate wire printing source files",
|
||||
action="store_true", default=False)
|
||||
parser.add_argument("--page", choices=['header', 'impl'], help="page to print")
|
||||
parser.add_argument('--expose-tlv-type', action='append', default=[])
|
||||
parser.add_argument('header_filename', help='The filename of the header')
|
||||
parser.add_argument('enum_name', help='The name of the enum to produce')
|
||||
parser.add_argument("files", help='Files to read in (or stdin)', nargs=REMAINDER)
|
||||
|
||||
Reference in New Issue
Block a user