]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - scripts/kernel-doc
kernel-doc: strip leading whitespace from continued param descs
authorJani Nikula <jani.nikula@intel.com>
Fri, 27 May 2016 21:41:50 +0000 (00:41 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 30 May 2016 10:39:01 +0000 (13:39 +0300)
commitb7886de43c9f8a19685cd6e81135de63b9529911
tree75267ed0f3de1d668bfee489ce34a7430e15d115
parent0a7263014b3a0e05b52ccef314e2ccf6f4550a8b
kernel-doc: strip leading whitespace from continued param descs

If a param description spans multiple lines, check any leading
whitespace in the first continuation line, and remove same amount of
whitespace from following lines.

This allows indentation in the multi-line parameter descriptions for
aesthetical reasons while not causing accidentally significant
indentation in the rst output.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
scripts/kernel-doc