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

2 messages from 2006-05-29 to 2006-06-02. Participants: Jonas Fonseca, Petr Baudis.
Thread: https://gitlist.dev/t/4328

## Jonas Fonseca, 2006-05-29 00:13

Subject: [PATCH] Fix section slicing so help options are not misplaced in cg-commit(1)
Message-ID: <20060529001334.GD2061@diku.dk>
URL: https://gitlist.dev/e/20060529001334.GD2061%40diku.dk

```
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
---

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

```

## Petr Baudis, 2006-06-02 21:50

Subject: Re: [PATCH] ciabot: fix post-update hook description
Message-ID: <20060602215031.GQ10488@pasky.or.cz>
URL: https://gitlist.dev/e/20060602215031.GQ10488%40pasky.or.cz
In-Reply-To: <20060529001334.GD2061@diku.dk>

```
Thanks, all four patches applied. :)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
A person is just about as big as the things that make them angry.

```
