Skip to content

Commit 9365640

Browse files
Document another intentional breaking change from 'rabbitmqadmin' v1
1 parent efa7ce9 commit 9365640

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,22 @@ rabbitmqadmin --config $HOME/.configuration/rabbitmqadmin.conf --node staging sh
272272

273273
## Breaking or Potentially Breaking Changes
274274

275+
### --snake-case for Command Options
276+
277+
`rabbitmqadmin` v1 used `lower_case` for named command arguments, for example:
278+
279+
```shell
280+
# Note: auto_delete
281+
rabbitmqadmin-v1 --vhost "vh-2" declare queue name="qq.1" type="quorum" durable=true auto_delete=false
282+
```
283+
284+
`rabbitmqadmin` v2 uses a more typical `--snake-case` format for the same arguments:
285+
286+
```shell
287+
# Note: --auto-delete
288+
rabbitmqadmin --vhost "vh-2" declare queue --name "qq.1" --type "quorum" --durable true --auto-delete false
289+
```
290+
275291
### Global Arguments Come First
276292

277293
Global flags in `rabbitmqadmin` v2 must precede the command category (e.g. `list`) and the command itself,

0 commit comments

Comments
 (0)