r79: update changeloga za 2.4.3.
[carnet-tools-cn.git] / cp-update.1
index eb8cde1..cd6dc2b 100644 (file)
@@ -100,9 +100,8 @@ Insert after the first line that matches given pattern.
 .TP\r
 \fB\-f\fR | \fB\-\-insert\-before\fR \fIpattern\fR\r
 Insert before the first line that matches given pattern.\r
-.TP\r
-\fB\-R\fR | \fB\-\-regexp\-match\fR | \fB\-\-regexp\fR\r
-Use regexp mode for line matching.\r
+.PP\r
+Line-matching patterns are PCREs (Perl-compatible regular expressions).\r
 .SS Manipulating block marks\r
 .TP\r
 \fB\-c\fR | \fB\-\-comment\fR \fIstring\fR\r
@@ -167,7 +166,7 @@ the inserted block between customized markers):
 .RS
 .Sp
 .Vb 4\r
-\&    cp-update --regexp --insert-before '</Controls>'      \\\r
+\&    cp-update --insert-before '</Controls>'               \\\r
 \&              --comment '<!--' --comment-end ' -->'       \\\r
 \&              gentoo-cn /etc/gentoorc < gentoo-cn.ins
 .Ve\r
@@ -177,9 +176,9 @@ the same markers as we did when the block was inserted):
 .RS
 .Sp
 .Vb 4\r
-\&    cp-update -r --regexp --insert-before '</Controls>'   \\\r
-\&              --comment '<!--' --comment-end ' -->'       \\\r
-\&              gentoo-cn /etc/gentoorc
+\&    cp-update -r --insert-before '</Controls>'            \\\r
+\&                 --comment '<!--' --comment-end ' -->'    \\\r
+\&                 gentoo-cn /etc/gentoorc
 .Ve\r
 .RE\r
 .\"