diff --git a/src/main/bash/gvm-main.sh b/src/main/bash/gvm-main.sh index f574c3c3..7897b8bb 100644 --- a/src/main/bash/gvm-main.sh +++ b/src/main/bash/gvm-main.sh @@ -40,6 +40,8 @@ function gvm { COMMAND="current";; d) COMMAND="default";; + b) + COMMAND="broadcast";; esac # diff --git a/src/test/cucumber/gvm/mnemonics.feature b/src/test/cucumber/gvm/mnemonics.feature index d8ddaaa6..86664381 100644 --- a/src/test/cucumber/gvm/mnemonics.feature +++ b/src/test/cucumber/gvm/mnemonics.feature @@ -60,3 +60,9 @@ Feature: Mnemonics Then I see "Default groovy version set to 2.0.5" And the candidate "groovy" version "2.0.5" should be the default + Scenario: Shortcut for a Broadcast command issued + Given no prior Broadcast was received + And a new Broadcast "This is a LIVE Broadcast!" is available + When I enter "gvm b" + Then I see only "This is a LIVE Broadcast!" +