From a8698b30e85941f1ee9a74a6135eed63ec84bc69 Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 8 Apr 2002 18:42:44 +0000 Subject: [PATCH] Remove duplicate line feed git-svn-id: svn://svn.cc65.org/cc65/trunk@1229 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/common/cmdline.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/common/cmdline.c b/src/common/cmdline.c index 50713d11b..1772a50c2 100644 --- a/src/common/cmdline.c +++ b/src/common/cmdline.c @@ -240,7 +240,7 @@ void InitCmdLine (int* aArgCount, char** aArgVec[], const char* aProgName) void UnknownOption (const char* Opt) /* Print an error about an unknown option and die. */ { - AbEnd ("Unknown option: %s\n", Opt); + AbEnd ("Unknown option: %s", Opt); } @@ -248,7 +248,7 @@ void UnknownOption (const char* Opt) void NeedArg (const char* Opt) /* Print an error about a missing option argument and exit. */ { - AbEnd ("Option requires an argument: %s\n", Opt); + AbEnd ("Option requires an argument: %s", Opt); } @@ -256,7 +256,7 @@ void NeedArg (const char* Opt) void InvDef (const char* Def) /* Print an error about an invalid definition and die */ { - AbEnd ("Invalid definition: `%s'\n", Def); + AbEnd ("Invalid definition: `%s'", Def); } @@ -319,3 +319,4 @@ void LongOption (unsigned* ArgNum, const LongOpt* OptTab, unsigned OptCount) + -- 2.39.5