- opt :verbose, "Print some things on stderr", :short => "-v"
- opt :uuid, "Return the UUIDs of the objects in the response, one per line (default)", :short => nil
- opt :json, "Return the entire response received from the API server, as a JSON object", :short => "-j"
- opt :human, "Return the response received from the API server, as a JSON object with whitespace added for human consumption", :short => "-h"
- opt :pretty, "Synonym of --human", :short => nil
- opt :yaml, "Return the response received from the API server, in YAML format", :short => "-y"
+ opt :verbose, "Print some things on stderr"
+ opt :format,
+ "Set the output format. Must be one of json (default), yaml or uuid.",
+ :type => :string,
+ :default => 'json'
+ opt :short, "Return only UUIDs (equivalent to --format=uuid)"
+ opt :resources, "Display list of resources known to this Arvados instance."
+ conflicts :short, :format