]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/options: chomp whitespace
authorPatrick Donnelly <pdonnell@ibm.com>
Tue, 1 Jul 2025 19:37:53 +0000 (15:37 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Tue, 1 Jul 2025 19:41:05 +0000 (15:41 -0400)
commit73792b78b4b520bcbfac254528f79a80b4d331c5
tree5e72ea7da04c04728dc70cbe4d57710d18919561
parentd0be473713eaffb3974d97c70f4e061e10738af3
common/options: chomp whitespace

If there are trailing newlines in a string (like long_desc), then the generated
C++ code is invalid (because the newline will not be escaped).

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/common/options/y2c.py