Fix raw API docs generation

This commit is contained in:
Lonami Exo 2022-08-30 13:21:17 +02:00
parent 8b1bfcdf9c
commit 6e8bc0d5b9

View File

@ -142,8 +142,8 @@ class DocsWriter:
self.write(':')
# "Opening" modifiers
if arg.is_flag:
self.write('flags.{}?', arg.flag_index)
if arg.flag:
self.write('{}.{}?', arg.flag, arg.flag_index)
if arg.is_generic:
self.write('!')