Skip to content

Commit e04911f

Browse files
Alias (global) --host as --hostname
1 parent 16f8c1e commit e04911f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cli.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ pub fn parser(pre_flight_settings: PreFlightSettings) -> Command {
8080
Arg::new("host")
8181
.short('H')
8282
.long("host")
83+
.alias("hostname")
8384
.env("RABBITMQADMIN_TARGET_HOST")
8485
.help("HTTP API hostname to use when connecting"),
8586
)

0 commit comments

Comments
 (0)