X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b3cc51580f7d4bfa0c390e29950b2d605bfcda79..7f1e7f793bd1b5efa73df51b3070c5acb8fcdc82:/apps/workbench/app/views/application/_show_advanced_cli_example.html.erb diff --git a/apps/workbench/app/views/application/_show_advanced_cli_example.html.erb b/apps/workbench/app/views/application/_show_advanced_cli_example.html.erb index 45168762fe..cb29b664c0 100644 --- a/apps/workbench/app/views/application/_show_advanced_cli_example.html.erb +++ b/apps/workbench/app/views/application/_show_advanced_cli_example.html.erb @@ -1,7 +1,11 @@ +An example arv command to get a <%= object.class.to_s.underscore %> using its uuid:
-arv --pretty <%= object.class.to_s.underscore %> get \
+arv <%= object.class.to_s.underscore %> get \
  --uuid <%= object.uuid %>
+
+An example arv command to update the "<%= object.attributes.keys[-3] %>" attribute for the current <%= object.class.to_s.underscore %>: +
 arv <%= object.class.to_s.underscore %> update \
  --uuid <%= object.uuid %> \
  --<%= object.class.to_s.underscore.gsub '_', '-' %> '<%= JSON.generate({object.attributes.keys[-3] => object.attributes.values[-3]}).gsub("'","'\''") %>'