@@ -540,20 +540,20 @@ or names.
540540 options.command = command
541541 end
542542
543- opts.on('--broker PATH', "The path to the broker",
543+ opts.on('-b', '- -broker PATH', "The path to the broker",
544544 " (default #{PATH})") do |path|
545545 options.broker = path
546546 end
547547
548- opts.on('--raw', "Dump all cartridge information as JSON") do
548+ opts.on('-r', '- -raw', "Dump all cartridge information as JSON") do
549549 options.raw = true
550550 end
551551
552- opts.on('--force', "Replace with new version even if unchanged") do
552+ opts.on('-f', '- -force', "Replace with new version even if unchanged") do
553553 options.force = true
554554 end
555555
556- opts.on('--obsolete', "Force activation of obsolete cartridges") do
556+ opts.on('-o', '- -obsolete', "Force activation of obsolete cartridges") do
557557 options.obsolete = true
558558 end
559559
@@ -565,7 +565,7 @@ or names.
565565 options.activate = true
566566 end
567567
568- opts.on('--dry-run', "Show the results of the update without changing anything.") do
568+ opts.on('-d', '- -dry-run', "Show the results of the update without changing anything.") do
569569 options.dry_run = true
570570 end
571571
@@ -581,7 +581,7 @@ or names.
581581 options.quiet = true
582582 end
583583
584- opts.on('--ids IDS', "ID for a cartridge version to activate or deactivate (comma-delimited).") do |ids|
584+ opts.on('-i', '- -ids IDS', "ID for a cartridge version to activate or deactivate (comma-delimited).") do |ids|
585585 options.ids = ids.split(/[\, ]/)
586586 end
587587
0 commit comments