diff options
Diffstat (limited to 'bin/changelog')
-rwxr-xr-x | bin/changelog | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/bin/changelog b/bin/changelog index 45b6295e331..ec068d06507 100755 --- a/bin/changelog +++ b/bin/changelog @@ -15,8 +15,7 @@ Options = Struct.new( :force, :merge_request, :title, - :type, - :ee + :type ) INVALID_TYPE = -1 @@ -86,10 +85,6 @@ class ChangelogOptionParser options.type = parse_type(value) end - opts.on('-e', '--ee', 'Generate a changelog entry for GitLab EE') do |value| - options.ee = value - end - opts.on('-h', '--help', 'Print help message') do $stdout.puts opts raise Done.new @@ -254,7 +249,7 @@ class ChangelogEntry end def ee? - options.ee + @ee ||= File.exist?(File.expand_path('../CHANGELOG-EE.md', __dir__)) end def branch_name |