update locks manpage
[platform/upstream/libzypp.git] / doc / locks.5
index 553fb25..b6bc82b 100644 (file)
@@ -25,9 +25,11 @@ Default is allowed all repositories.
 
 .TP
 .B type
-type restriction - kind can be package,patch,pattern,product and srcpackage.
+type restriction
 .br
-default is all kind 
+values can be \fBpackage\fR, \fBpatch\fR, \fBpattern\fR, \fBproduct\fR and \fBsrcpackage\fR.
+.br
+default is all type 
 
 .TP
 .B case_sensitive
@@ -53,7 +55,7 @@ default is all
 
 .TP
 .B match_type 
-type of string in value. Not affect kind and repo which must be exactly specified.
+type of string in value. Not affect type and repo which must be exactly specified.
 .br
 values are \fBexact\fR for exact match, \fBsubstring\fR if string contains value, \fBregex\fR for regular expressions, \fBglob\fR for matching as in command line and \fBword\fR.
 .br
@@ -61,7 +63,17 @@ default is substring
 
 .TP
 .B query_string
-string for all attributes. Can be restricted by attribute with empty value. 
+string for all attributes. Can be restricted by attribute with empty value ( it is recommended, because without restriction expect some performance problems ). 
+
+.TP
+.B version
+restrict lock only to some versions. It contains two part, first is operator and second is version.
+.br
+Operator is \fB==\fR,\fB!=\fR,\fB<\fR,\fB>\fR,\fB<=\fR,\fB>=\fR. If operator is not specified then == is used.
+.br
+Version have format \fBepoch:version-release\fR. Only version is mandatory.
+.br
+example - version: < 0:0.11.4-2
 
 .TP
 .B solvable_name 
@@ -72,6 +84,10 @@ name of object
 summary of object 
 
 .TP
+.B solvable_arch
+architecture of object (e.g. x86_64, i586) 
+
+.TP
 .B solvable_description
 description of object 
 
@@ -125,7 +141,7 @@ locks all patches
 .br
 -----locks-----
 .br
-kind:patch
+type:patch
 
 .TP
 .B Two locks
@@ -133,7 +149,7 @@ all objects which contains kde(only low letters) in name and description and sec
 .br
 -----locks-----
 .br
-global_string: kde
+query_string: kde
 .br
 solvable_name:
 .br
@@ -157,7 +173,7 @@ preferred way is use zypper addlock command (or Yast when they support new locks
 .br
 solvable_name: k3b
 .br
-string_type: exact
+match_type: exact
 
 .SH "HOMEPAGE"