Bug 2077296 - dnf --help is missing spaces for --enablerepo and --disablerepo
Summary: dnf --help is missing spaces for --enablerepo and --disablerepo
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 35
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: amatej
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-20 23:15 UTC by David Costanzo
Modified: 2022-11-30 08:30 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-30 08:30:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Costanzo 2022-04-20 23:15:39 UTC
Description of problem:
The "--help" content of dnf has some typos that look like they're caused by missing spaces.

Version-Release number of selected component (if applicable):
dnf-4.11.1-2.fc35.noarch


How reproducible:
Every Time

Steps to Reproduce:
1. Run "dnf --help"

Actual results:
The description of --enablerepo and --disablerepo are missing several spaces:

"""
  --enablerepo [repo]   Temporarily enable repositories for the purposeof the
                        current dnf command. Accepts an id, acomma-separated
                        list of ids, or a glob of ids.This option can be
                        specified multiple times.
  --disablerepo [repo]  Temporarily disable active repositories for thepurpose
                        of the current dnf command. Accepts an id,a comma-
                        separated list of ids, or a glob of ids.This option
                        can be specified multiple times, butis mutually
                        exclusive with `--repo`.
"""

Expected results:
The description of --enablerepo and --disablerepo have no typos.

Additional info:
Here are the missing spaces that I see:

"purposeof" -> "purpose of"
"acomma-separated" -> "a comma-separated"
"ids.This" -> "ids. This"
"thepurpose" -> "the purpose"
"id,a" -> "a comma-separated"
"ids.This" -> "ids. This"
"butis" -> "but is"


I think this is a regression introduced by the fix for Bug #2031414.
See https://github.com/rpm-software-management/dnf/pull/1802/files

Comment 2 Ben Cotton 2022-11-29 18:47:41 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.


Note You need to log in before you can comment on or make changes to this bug.