Allow for search args to be empty

This commit is contained in:
Ivan Kravets committed 2014-11-24 21:59:25 +02:00
1 parent cd2cc16fcf
commit 102175215c
4 files changed
+10 -8

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ Usage
.. code-block:: bash
# Print all available development platforms
platformio search all
platformio search
# Filter platforms by "Query"
platformio search QUERY
+4 -5
View File
@@ -90,7 +90,7 @@ Examples
.. code-block:: bash
$ platformio lib search ""
$ platformio lib search
# Found N libraries:
#
# [ ID ] Name Compatibility "Authors": Description
@@ -112,7 +112,7 @@ Examples
.. code-block:: bash
$ platformio lib search "1-wire"
$ platformio lib search "1-wire"
# Found N libraries:
#
# [ ID ] Name Compatibility "Authors": Description
@@ -136,11 +136,10 @@ Examples
# ...
4. Search for `libraries by "web" and "http" keywords <http://platformio.ikravets.com/#!/lib/search?query=keyword%253A%2522web%2522%2520keyword%253A%2522http%2522&page=1>`_.
The ``""`` here is for "empty" query argument
.. code-block:: bash
$ platformio lib search "" --keyword="web" --keyword="http"
$ platformio lib search --keyword="web" --keyword="http"
# Found N libraries:
#
# [ ID ] Name Compatibility "Authors": Description
@@ -153,7 +152,7 @@ Examples
.. code-block:: bash
$ platformio lib search "" --author="Adafruit Industries"
$ platformio lib search --author="Adafruit Industries"
# Found N libraries:
#
# [ ID ] Name Compatibility "Authors": Description