# File lib/compass/commands/print_version.rb, line 65
      def execute
        if options[:custom]
          version = ""
          version << "#{Compass.version[:major]}" if options[:major]
          version << ".#{Compass.version[:minor]}" if options[:minor]
          version << ".#{Compass.version[:teeny]}" if options[:patch]
          if options[:revision]
            if version.size > 0
              version << " [#{Compass.version[:rev][0..6]}]"
            else
              version << Compass.version[:rev]
            end
          end
          puts version
        elsif options[:quiet]
          puts ::Compass.version[:string]
        else
          lines = []
          lines << "Compass #{::Compass.version[:string]}"
          lines << "Copyright (c) 2008-2009 Chris Eppstein"
          lines << "Released under the MIT License."
          puts lines.join("\n")
        end
      end