Update CLI docs for --no-count
[arvados.git] / doc / sdk / cli / reference.html.textile.liquid
index bc5cf1e6c10ed7f055f9b2955d48c7737febc5cf..c2fbf276eff919a09fab59109913e57f1a8124c5 100644 (file)
@@ -9,21 +9,12 @@ _In order to use the @arv@ command, make sure that you have a "working environme
 
 h3. Usage
 
-@arv [global_options] resource_type resource_method [method_parameters]@
-
-h4. Global options
-
-- @--format=json@ := Output response as JSON. This is the default format.
-
-- @--format=yaml@ := Output response as YAML
-
-- @--format=uuid@ := Output only the UUIDs of object(s) in the API response, one per line.
-
+See the "CLI overview":{{site.baseurl}}/sdk/cli/index.html page.
 
 h3. Resource types and methods
 
 Get list of resource types
-@arv --resources@
+@arv --help@
 
 Get list of resource methods for the "user" resource type
 @arv user --help@
@@ -38,7 +29,7 @@ Get entire record for some specific user
 @arv user get --uuid 6dnxa-tpzed-iimd25zhzh84gbk@
 
 Update user record
-@arv user update --uuid 6dnxa-tpzed-iimd25zhzh84gbk --first-name "Bob"@
+@arv user update --uuid 6dnxa-tpzed-iimd25zhzh84gbk --user '{"first_name":"Bob"}'@
 
 Get list of groups
 @arv group list@
@@ -68,7 +59,8 @@ Arguments accepted by the @list@ subcommand include:
   --filters, -f <s>:     Conditions for filtering users.
     --order, -r <s>:     Order in which to return matching users.
    --select, -s <s>:     Select which fields to return
-     --distinct, -d:     Return each distinct object
+     --distinct, -d:     Return each distinct object.
+         --no-count:     Don't count items_available.
 </pre>
 
 The @--filters@ option takes a string describing a JSON list of filters on which the returned resources should be returned. Each filter is a three-element list of _[field, operator, value]_, where the _operator_ may be one of @=@, @<@, @<=@, @>@, @>=@, @!=@, @like@, or @ilike@.