From cb8af5add908485b5115893e5ef73b54001a76a3 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 27 May 2019 12:28:04 +0300 Subject: [PATCH] Print "No items found" when there are no packages for llisting --- platformio/commands/lib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platformio/commands/lib.py b/platformio/commands/lib.py index 6ad3252b..68bda15e 100644 --- a/platformio/commands/lib.py +++ b/platformio/commands/lib.py @@ -277,6 +277,8 @@ def lib_list(ctx, json_output): else: for item in sorted(items, key=lambda i: i['name']): print_lib_item(item) + else: + click.echo("No items found") if json_output: return click.echo(