From 9f5b081257a1fc71e05a18d4809c152f7a344e7c Mon Sep 17 00:00:00 2001 From: Eric Ye Date: Thu, 28 Jul 2016 14:47:57 -0700 Subject: [PATCH] Wrap help line to fit through mini-dm. (#5157) It currently gets cut off on mini-dm, split it into multiple lines so all of it comes through. --- src/drivers/gps/gps.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/drivers/gps/gps.cpp b/src/drivers/gps/gps.cpp index bd3eb10807..4640be99e3 100644 --- a/src/drivers/gps/gps.cpp +++ b/src/drivers/gps/gps.cpp @@ -1135,6 +1135,7 @@ gps_main(int argc, char *argv[]) return 0; out: - PX4_ERR("unrecognized command, try 'start', 'stop', 'test', 'reset' or 'status'\n [-d /dev/ttyS0-n][-f (for enabling fake)][-s (to enable sat info)]"); + PX4_ERR("unrecognized command, try 'start', 'stop', 'test', 'reset' or 'status'"); + PX4_ERR("[-d " GPS_DEFAULT_UART_PORT "][-f (for enabling fake)][-s (to enable sat info)]"); return 1; }