diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/feature-flag | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/feature-flag b/bin/feature-flag index 46d93a11ebd..d4ab295b30c 100755 --- a/bin/feature-flag +++ b/bin/feature-flag @@ -118,6 +118,9 @@ class FeatureFlagOptionParser end def read_type + # if there's only one type, do not ask, return + return TYPES.first.first if TYPES.one? + $stdout.puts ">> Please specify the type of your feature flag:" $stdout.puts TYPES.each do |type, data| |