Browse files

usage lines did not match example lines

  • Loading branch information...
serv-inc committed Aug 24, 2017
1 parent 623b654 commit b6b8fb53cd3c1af527a225f944c36c5152db5ecb
Showing with 3 additions and 3 deletions.
  1. +3 −3 cli/cli.go
@@ -50,19 +50,19 @@ var toxicDescription = `
toxic add:
usage: toxiproxy-cli add <proxyName> --type <toxicType> --toxicName <toxicName> \
usage: toxiproxy-cli toxic add <proxyName> --type <toxicType> --toxicName <toxicName> \
--attribute <key=value> --upstream --downstream
example: toxiproxy-cli toxic add myProxy -t latency -n myToxic -a latency=100 -a jitter=50
toxic update:
usage: toxiproxy-cli update <proxyName> --toxicName <toxicName> \
usage: toxiproxy-cli toxic update <proxyName> --toxicName <toxicName> \
--attribute <key1=value1> --attribute <key2=value2>
example: toxiproxy-cli toxic update myProxy -n myToxic -a jitter=25
toxic delete:
usage: toxiproxy-cli update <proxyName> --toxicName <toxicName>
usage: toxiproxy-cli toxic delete <proxyName> --toxicName <toxicName>
example: toxiproxy-cli toxic delete myProxy -n myToxic

0 comments on commit b6b8fb5

Please sign in to comment.