From 381f11efa0cce4b0d0bfe3f78a834af387066d6c Mon Sep 17 00:00:00 2001 From: Shreenidhi Shedi Date: Mon, 29 Apr 2024 17:51:43 +0530 Subject: [PATCH] Mandatory space in list output Signed-off-by: Shreenidhi Shedi --- tools/cli/lib/api.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/cli/lib/api.c b/tools/cli/lib/api.c index 3da0eb78..5b79b755 100644 --- a/tools/cli/lib/api.c +++ b/tools/cli/lib/api.c @@ -122,7 +122,7 @@ TDNFCliCountCommand( { pr_jsonf("%u", dwCount); } else { - pr_crit("Package count = %u\n", dwCount); + pr_crit("Package count = %u\n", dwCount); } cleanup: @@ -211,7 +211,7 @@ TDNFCliListCommand( if(snprintf( szNameAndArch, MAX_COL_LEN, - "%s.%s", + "%s.%s ", pPkg->pszName, pPkg->pszArch) < 0) { @@ -223,7 +223,7 @@ TDNFCliListCommand( if(snprintf( szVersionAndRelease, MAX_COL_LEN, - "%s-%s", + "%s-%s ", pPkg->pszVersion, pPkg->pszRelease) < 0) { @@ -619,7 +619,7 @@ TDNFCliProvidesCommand( pPkg->pszArch, pPkg->pszSummary); pr_crit("Repo\t : %s\n", pPkg->pszRepoName); - } + } } cleanup: if(pPkgInfos) @@ -958,7 +958,7 @@ TDNFCliCheckUpdateCommand( } pr_json(jd->buf); JD_SAFE_DESTROY(jd); - } + } else { for(dwIndex = 0; dwIndex < dwCount; ++dwIndex)