Skip to content

Commit e4bc12a

Browse files
Update --help message
1 parent fe4fe88 commit e4bc12a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/cli.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,14 +248,14 @@ pub fn parser() -> Command {
248248
.subcommand_value_name("export")
249249
.subcommands(definitions_subcommands()),
250250
Command::new("export")
251-
.about("export definitions")
251+
.about("see 'definitions export'")
252252
.after_long_help(color_print::cstr!(
253253
"<bold>Doc guide</bold>: https://rabbitmq.com/docs/definitions"
254254
))
255255
.subcommand_value_name("definitions")
256256
.subcommands(export_subcommands()),
257257
Command::new("import")
258-
.about("import definitions")
258+
.about("see 'definitions import'")
259259
.after_long_help(color_print::cstr!(
260260
"<bold>Doc guide</bold>: https://rabbitmq.com/docs/definitions"
261261
))
@@ -890,7 +890,7 @@ fn definitions_subcommands() -> [Command; 2] {
890890

891891
fn export_subcommands() -> [Command; 1] {
892892
[Command::new("definitions")
893-
.about("export all definitions (queues, exchanges, bindings, users, etc)")
893+
.about("prefer 'definitions export'")
894894
.after_long_help(color_print::cstr!(
895895
"<bold>Doc guide</bold>: https://rabbitmq.com/docs/definitions/"
896896
))
@@ -905,7 +905,7 @@ fn export_subcommands() -> [Command; 1] {
905905

906906
fn import_subcommands() -> [Command; 1] {
907907
[Command::new("definitions")
908-
.about("import all definitions (queues, exchanges, bindings, users, etc) from a JSON file")
908+
.about("prefer 'definitions import'")
909909
.after_long_help(color_print::cstr!(
910910
"<bold>Doc guide</bold>: https://rabbitmq.com/docs/definitions/"
911911
))

0 commit comments

Comments
 (0)