mirror of
https://github.com/block/buzz.git
synced 2026-10-27 12:40:30 +00:00
docs(cli): list system in the --type error example
Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz> Signed-off-by: Logan Johnson <loganj@squareup.com>
This commit is contained in:
@@ -505,7 +505,7 @@ buzz messages delete --event "not-hex" 2>&1; echo "exit: $?"
|
||||
|
||||
# Exit 1: Invalid --type value (clap validates the enum — multi-line error)
|
||||
buzz channels create --name x --type invalid --visibility open 2>&1; echo "exit: $?"
|
||||
# stderr: {"error":"user_error","message":"error: invalid value 'invalid' for '--type <CHANNEL_TYPE>'\n [possible values: stream, forum]\n..."}
|
||||
# stderr: {"error":"user_error","message":"error: invalid value 'invalid' for '--type <CHANNEL_TYPE>'\n [possible values: stream, forum, system]\n..."}
|
||||
# exit: 1
|
||||
|
||||
# Exit 1: Invalid --direction value
|
||||
|
||||
Reference in New Issue
Block a user