]> sigrok.org Git - sigrok-cli.git/commitdiff
--list-serial: Reduce indentation level.
authorUwe Hermann <redacted>
Thu, 20 Jun 2019 16:15:44 +0000 (18:15 +0200)
committerUwe Hermann <redacted>
Thu, 20 Jun 2019 16:15:44 +0000 (18:15 +0200)
This makes some cases of --list-serial output look a bit nicer.

show.c

diff --git a/show.c b/show.c
index 650936031b9a5c8ecfb022dbedbfee4917f7674c..608698723c6426977d1dd91a17c14ede1599036c 100644 (file)
--- a/show.c
+++ b/show.c
@@ -1084,7 +1084,7 @@ static void print_serial_port(gpointer data, gpointer user_data)
 
        port = (void *)data;
        (void)user_data;
-       printf("\t%s\t%s\n", port->name, port->description);
+       printf("  %s\t%s\n", port->name, port->description);
 }
 
 void show_serial_ports(void)