lib/faastruby/cli/commands/function/update_context.rb in faastruby-0.5.15 vs lib/faastruby/cli/commands/function/update_context.rb in faastruby-0.5.16
- old
+ new
@@ -33,11 +33,15 @@
end
def usage
puts "\nUsage: faastruby #{self.class.help}"
puts %(
--d, --data 'STRING' # The context data. Must be quoted.
---stdin # Read context data from STDIN
+-d, --data JSON_STRING' # The data to be stored as execution context
+ # in the cloud, accessible via 'event.context'
+ # from within your function.
+ # The context data must be a JSON String, and
+ # have maximum size of 4KB.
+--stdin # Read context data from STDIN
)
end
private