From d007263021ee0bc6bbb4e691eaaff438550102c6 Mon Sep 17 00:00:00 2001 From: Oliver Hartkopp Date: Mon, 27 Apr 2020 10:53:02 +0200 Subject: [PATCH] cansend: simplify tool decription in help text Simplify tool description and format the empty lines like in other (e.g. slcand) tools. Signed-off-by: Oliver Hartkopp --- cansend.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cansend.c b/cansend.c index 283c6bd..b19332d 100644 --- a/cansend.c +++ b/cansend.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* - * cansend.c - simple command line tool to send CAN-frames via CAN_RAW sockets + * cansend.c - send CAN-frames via CAN_RAW sockets * * Copyright (c) 2002-2007 Volkswagen Group Electronic Research * All rights reserved. @@ -58,9 +58,9 @@ void print_usage(char *prg) { - fprintf(stderr, "Usage: %s - simple command line tool to send CAN-frames via CAN_RAW sockets.\n", prg); - fprintf(stderr, "Usage: %s .\n", prg); - fprintf(stderr, ":\n"); + fprintf(stderr, "%s - send CAN-frames via CAN_RAW sockets.\n", prg); + fprintf(stderr, "\nUsage: %s .\n", prg); + fprintf(stderr, "\n:\n"); fprintf(stderr, " #{data} for 'classic' CAN 2.0 data frames\n"); fprintf(stderr, " #R{len} for 'classic' CAN 2.0 data frames\n"); fprintf(stderr, " ##{data} for CAN FD frames\n\n");