Skip to content

Commit

Permalink
Merge pull request #472 from sshedi/3.3-space-fix
Browse files Browse the repository at this point in the history
Mandatory space in list output
  • Loading branch information
oliverkurth authored Apr 29, 2024
2 parents b96b505 + 381f11e commit 8163f4d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/cli/lib/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -211,7 +211,7 @@ TDNFCliListCommand(
if(snprintf(
szNameAndArch,
MAX_COL_LEN,
"%s.%s",
"%s.%s ",
pPkg->pszName,
pPkg->pszArch) < 0)
{
Expand All @@ -223,7 +223,7 @@ TDNFCliListCommand(
if(snprintf(
szVersionAndRelease,
MAX_COL_LEN,
"%s-%s",
"%s-%s ",
pPkg->pszVersion,
pPkg->pszRelease) < 0)
{
Expand Down Expand Up @@ -619,7 +619,7 @@ TDNFCliProvidesCommand(
pPkg->pszArch,
pPkg->pszSummary);
pr_crit("Repo\t : %s\n", pPkg->pszRepoName);
}
}
}
cleanup:
if(pPkgInfos)
Expand Down Expand Up @@ -958,7 +958,7 @@ TDNFCliCheckUpdateCommand(
}
pr_json(jd->buf);
JD_SAFE_DESTROY(jd);
}
}
else
{
for(dwIndex = 0; dwIndex < dwCount; ++dwIndex)
Expand Down

0 comments on commit 8163f4d

Please sign in to comment.