Skip to content

Commit

Permalink
Add TODO to remove long-deprecated executable
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylareopelle committed Jul 6, 2023
1 parent 011fcec commit 9fdb439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/new_relic/cli/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def self.run
extra = []
options = ARGV.options do |opts|
script_name = File.basename($0)
# TODO: MAJOR VERSION - remove newrelic_cmd, deprecated since version 2.13
if /newrelic_cmd$/.match?(script_name)
$stdout.puts "warning: the 'newrelic_cmd' script has been renamed 'newrelic'"
script_name = 'newrelic'
Expand Down
1 change: 1 addition & 0 deletions newrelic_rpm.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Gem::Specification.new do |s|
https://github.com/newrelic/newrelic-ruby-agent/
EOS
s.email = 'support@newrelic.com'
# TODO: MAJOR VERSION - remove newrelic_cmd, deprecated since version 2.13
s.executables = %w[newrelic_cmd newrelic nrdebug]
s.extra_rdoc_files = [
'CHANGELOG.md',
Expand Down

0 comments on commit 9fdb439

Please sign in to comment.