]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
cmd/fscrypt: preserve paragraphs in wrapText()
authorEric Biggers <ebiggers@google.com>
Wed, 27 Nov 2019 19:55:28 +0000 (11:55 -0800)
committerEric Biggers <ebiggers@google.com>
Wed, 27 Nov 2019 19:55:28 +0000 (11:55 -0800)
commite7d77aba6d717f995e65c74b5b85412bb13a28b0
tree39cdf99f86f83471b3057aef6423dbac198ac27c
parent03d3a29b70c85f083adf3c12cba60c0374f06d3e
cmd/fscrypt: preserve paragraphs in wrapText()

Preserve empty lines rather than squashing them into a single space.
This allows having command descriptions that contain multiple
paragraphs.  This also eliminates the need to have a special case for
ordered lists.
cmd/fscrypt/format.go