Commits

Cody Soyland  committed 2e05420

Join query args with space instead of choosing first word.

  • Participants
  • Parent commits 88f18e8

Comments (0)

Files changed (1)

File pip/commands/search.py

         if not args:
             logger.warn('ERROR: Missing required argument (search query).')
             return
-        query = args[0]
+        query = ' '.join(args)
         index_url = options.index
 
         pypi_hits = self.search(query, index_url)