r64: Greskom zamijenjena imena cp_*backup* funkcija.
[carnet-tools-cn.git] / cp-update
index ecac2f7..d5b2ab2 100755 (executable)
--- a/cp-update
+++ b/cp-update
@@ -69,7 +69,6 @@ $UsageLong = "
 
            -i | --insert-after   x  Insert after this/matching line.
            -f | --insert-before  x  Insert before this/matching line.
-           -R | --regexp-match      Use regexp mode for line matching.
 
   - Manipulating block marks:
 
@@ -120,6 +119,7 @@ use constant DO_INSERT => 1;
 # Operation defaults
 $InsertRemove = DO_INSERT;
 $Placement    = APPEND_AT_END;
+$RegexpMatch  = 1;
 $Comment      = '#';
 $CommentEnd   = '';
 $MatchLine    = '';
@@ -166,7 +166,7 @@ while (@ARGV) {
     $Placement = INSERT_ON_TOP;
   }
   elsif (/^-R$/ || /^--regexp(?:-match|-mode)?$/) {
-    $RegexpMatch = 1;
+    $RegexpMatch = 1; # it's the default
   }
   elsif (/^-h$/ || /^--help$/) {
     die $UsageLong;