chiark / gitweb /
Merge commit 'refs/top-bases/fixes/independent-help' into fixes/independent-help
[topgit.git] / create-help.sh
index 0c40ee27899d60f0d9d62f84446156f110d0e7f0..fbd9a093d926b1a6ce53f3f138b624d008da168d 100755 (executable)
@@ -10,8 +10,9 @@ fi
 < README awk '
        BEGIN { incommand = 0; }
        /^tg '"$1"'$/ { incommand = 1; next; }
-       /^tg/ { incommand = 0; next; }
        /^~/ { next; } # Ignore the title underlines.
+       /^[^\t]/ { incommand = 0; next; }
        { if (incommand) { print $0; } }
 '  > tg-"$1".txt
 
+# vim:noet