From 70b38fe427710818b87ea5d4db520e2e3650e409 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Fri, 7 Jun 2024 20:24:00 +0800 Subject: [PATCH] Remove redundant output of version --- src/chsrc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/chsrc.c b/src/chsrc.c index 048f0d2..07f9470 100644 --- a/src/chsrc.c +++ b/src/chsrc.c @@ -2193,14 +2193,14 @@ void cli_print_version () { puts (xy_strjoin (3, "chsrc: Change Source (GPLv3) ", - xy_str_to_magenta (Chsrc_Version), " by RubyMetric\n")); + xy_str_to_magenta (Chsrc_Version), " by RubyMetric")); } void cli_print_help () { - cli_print_version (); + puts(""); for (int i=0; i