DORMANTno replies

[PATCH] Fix section slicing so help options are not misplaced in cg-commit(1)

From: Jonas Fonseca <hidden>
Date: 2016-06-15 22:42:27
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

Signed-off-by: Jonas Fonseca <redacted>
---

95724a5a97ca466e6eaccc7f46833a015dde2f24
 Documentation/make-cg-asciidoc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

95724a5a97ca466e6eaccc7f46833a015dde2f24
diff --git a/Documentation/make-cg-asciidoc b/Documentation/make-cg-asciidoc
index 45fc981..3873618 100755
--- a/Documentation/make-cg-asciidoc
+++ b/Documentation/make-cg-asciidoc
@@ -48,7 +48,7 @@ DESCRIPTION=
 OPTIONS=
 MISC=
 
-section=$(echo "$BODY" | sed -n '1,/^[-~][-~]*[-~]$/p')
+section=$(echo "$BODY" | sed -n '1,/^[-][-]*[-]$/p')
 section_lines=$(echo "$section" | wc -l)
 lines=$(echo "$BODY" | wc -l)
 
-- 
1.3.3.gd882-dirty

-- 
Jonas Fonseca
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help