diff --git a/lib/ronin/ui/command_line/command.rb b/lib/ronin/ui/command_line/command.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/ui/command_line/command.rb
+++ b/lib/ronin/ui/command_line/command.rb
@@ -35,7 +35,7 @@ module Ronin
         # Creates a new Command object.
         #
         def initialize(&block)
-          @name = $0
+          @name = File.basename($0)
 
           Options.new(@name) do |opts|
             define_options(opts)
Use the File.basename of $0 for the command name.