X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=carnet-tools-cn.git;a=blobdiff_plain;f=cp-update.1;fp=cp-update.1;h=b8cd11b3d7b0d4b382c0d3bc2a723756a370eb7d;hp=cd6dc2bd431b55c7da969fadfd0c1a0775422fd7;hb=64e2d2cffac17873e3dc3e342edf87344d5552b3;hpb=e8807059a3626188bc1385bd1e203358c1aafc17 diff --git a/cp-update.1 b/cp-update.1 index cd6dc2b..b8cd11b 100644 --- a/cp-update.1 +++ b/cp-update.1 @@ -1,5 +1,5 @@ .\" Copied from from Pod::Man template -.\" Wed, 23 Mar 2005 11:51:08 +0100 +.\" Wed, 14 Mar 2006 21:15:00 +0100 .\" .\" Standard preamble: .\" ====================================================================== @@ -38,7 +38,7 @@ .if n .na .\" .IX Title "cp-update 1" -.TH cp-update 1 "March 2005" CARNet "CARNet Packaging Tools" +.TH cp-update 1 "March 2006" CARNet "CARNet Packaging Tools" .SH NAME cp-update \- versatile line-based file updating tool .\" @@ -81,15 +81,15 @@ block marking and file handling. Remove entry \fIpackage\fR from \fIfile\fR. Default is to add lines from stdin. .TP +\fB\-x\fR | \fB\-\-change\fR +Modify existing block, or add it if it does not exist but the begin +mark can be found. Does basically the same as regular insert without +\-\-allow\-multiple but on other way (in-place). Thus those two options +are mutually exclusive. +.TP \fB\-m\fR | \fB\-\-allow\-multiple\fR Allow multiple blocks of the same type. By default, old blocks are replaced with the new one. -.TP -\fB\-h\fR | \fB\-\-help\fR -Print usage reference and exit. -.TP - \fB\-\-version\fR -Print title, version, copyright message, and exit. .SS Placement control .TP \fB\-t\fR | \fB\-\-insert\-on\-top\fR @@ -139,6 +139,13 @@ anew and replaces the old by renaming it to target name. \fB\-n\fR | \fB\-\-no\-close\fR Do not close and reopen file when editing it in place. Slightly optimized version of the above. +.SS Support modes +.TP +\fB\-h\fR | \fB\-\-help\fR +Print usage reference and exit. +.TP + \fB\-\-version\fR +Print title, version, copyright message, and exit. .\" .SH "EXIT STATUS" Upon successful execution of given operation, program returns