Skip to content

Commit

Permalink
Ticktock the gazebo verb
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <methylDragon@gmail.com>
  • Loading branch information
methylDragon committed Jun 16, 2022
1 parent 4abdfe0 commit 87762d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gz.in
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,12 @@ cmd_rb_library = commands[ARGV[0]].at(version_index)[1]['library_path']
require cmd_rb_library
cmd = Cmd.new

# TODO(CH3): Deprecated. Remove on tock.
# Print deprecation warning
if ARGV[0] == 'gazebo'
puts 'The `gazebo` verb is deprecated. Please use `sim` instead.'
end

# Set the process title to something nice.
Process.setproctitle("gz #{ARGV.join(' ')}")

Expand Down

0 comments on commit 87762d6

Please sign in to comment.