    # File lib/chef/knife/help.rb, line 91
          def available_manpages_by_basename
            @available_manpages_by_basename ||= begin
              available_manpages = Dir[File.expand_path("../distro/common/man/man1/*1", CHEF_ROOT)]
              available_manpages.inject({}) do |map, manpath|
                map[::File.basename(manpath, '.1')] = manpath
                map
              end
            end
          end