Bug 290647 - Fix kyua man pages: correct short option for --results-file from -s to -r
Summary: Fix kyua man pages: correct short option for --results-file from -s to -r
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Alexander Ziaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-29 07:37 UTC by Yan-Hao Wang
Modified: 2026-01-01 19:11 UTC (History)
3 users (show)

See Also:
ngie: maintainer-feedback+


Attachments
The patch (3.08 KB, patch)
2025-10-29 07:37 UTC, Yan-Hao Wang
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yan-Hao Wang 2025-10-29 07:37:42 UTC
Created attachment 264987 [details]
The patch

Several kyua-related man pages incorrectly document the short form of the
--results-file option as -s. In reality, the correct short option is -r,
as defined in the source code (https://github.com/freebsd/kyua/blob/86fd66c95d1a2422ae330f49e8ba13e4270e094e/cli/common.cpp#L104). This patch updates the
man pages to reflect the correct short option.
Comment 1 Alexander Ziaee freebsd_committer freebsd_triage 2025-10-29 12:23:02 UTC
Thanks! I will commit this hopefully later today.
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-12-29 20:18:44 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=bbaa7d628175ee484e31a054fb3cf7b7866cad13

commit bbaa7d628175ee484e31a054fb3cf7b7866cad13
Author:     Yan-Hao Wang <bses30074@gmail.com>
AuthorDate: 2025-12-29 20:13:16 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-12-29 20:16:04 +0000

    kyua manuals: Correct --results-file short form

    PR:             290647
    Ref:            kyua/cli/common.cpp#104
    MFC after:      3 days
    Reviewed by:    ziaee
    Closes:         https://github.com/freebsd/kyua/issues/267

 contrib/kyua/doc/kyua-db-exec.1.in      | 2 +-
 contrib/kyua/doc/kyua-db-migrate.1.in   | 2 +-
 contrib/kyua/doc/kyua-report-html.1.in  | 2 +-
 contrib/kyua/doc/kyua-report-junit.1.in | 2 +-
 contrib/kyua/doc/kyua-report.1.in       | 2 +-
 contrib/kyua/doc/kyua-test.1.in         | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-01-01 18:06:36 UTC
A commit in branch stable/15 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=12d6beaf89a6b8d3e97153d564188ebea9274e4b

commit 12d6beaf89a6b8d3e97153d564188ebea9274e4b
Author:     Yan-Hao Wang <bses30074@gmail.com>
AuthorDate: 2025-12-29 20:13:16 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-01-01 18:05:06 +0000

    kyua manuals: Correct --results-file short form

    PR:             290647
    Ref:            kyua/cli/common.cpp#104
    MFC after:      3 days
    Reviewed by:    ziaee
    Closes:         https://github.com/freebsd/kyua/issues/267

    (cherry picked from commit bbaa7d628175ee484e31a054fb3cf7b7866cad13)

 contrib/kyua/doc/kyua-db-exec.1.in      | 2 +-
 contrib/kyua/doc/kyua-db-migrate.1.in   | 2 +-
 contrib/kyua/doc/kyua-report-html.1.in  | 2 +-
 contrib/kyua/doc/kyua-report-junit.1.in | 2 +-
 contrib/kyua/doc/kyua-report.1.in       | 2 +-
 contrib/kyua/doc/kyua-test.1.in         | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-01-01 19:09:53 UTC
A commit in branch stable/14 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=063714951ad0e8407f39095f36de6be62a5fe07b

commit 063714951ad0e8407f39095f36de6be62a5fe07b
Author:     Yan-Hao Wang <bses30074@gmail.com>
AuthorDate: 2025-12-29 20:13:16 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-01-01 19:05:28 +0000

    kyua manuals: Correct --results-file short form

    PR:             290647
    Ref:            kyua/cli/common.cpp#104
    MFC after:      3 days
    Reviewed by:    ziaee
    Closes:         https://github.com/freebsd/kyua/issues/267

    (cherry picked from commit bbaa7d628175ee484e31a054fb3cf7b7866cad13)

 contrib/kyua/doc/kyua-db-exec.1.in      | 2 +-
 contrib/kyua/doc/kyua-db-migrate.1.in   | 2 +-
 contrib/kyua/doc/kyua-report-html.1.in  | 2 +-
 contrib/kyua/doc/kyua-report-junit.1.in | 2 +-
 contrib/kyua/doc/kyua-report.1.in       | 2 +-
 contrib/kyua/doc/kyua-test.1.in         | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)