Skip to content

Commit

Permalink
[fix] kernel-doc comandline, default of --known-attrs is an empty list
Browse files Browse the repository at this point in the history
Tested by::

   kernel-doc --exported \
              --symbols-exported-identifiers API_EXPORTED \
	      --symbols-exported-method=attribute \
	      ./docs/linuxdoc-howto/all-in-a-tumble.c

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
  • Loading branch information
return42 committed Nov 18, 2022
1 parent b0736ec commit 490e3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linuxdoc/kernel_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def main():

CLI.add_argument(
"--known-attrs"
, default = ""
, default = []
, nargs = "+"
, help = ("provides a list of known attributes that has to be"
" hidden when displaying function prototypes"))
Expand Down

0 comments on commit 490e3e1

Please sign in to comment.