From 0473015c636144df51040f388636f47b258593ca Mon Sep 17 00:00:00 2001 From: lbarcziova Date: Tue, 28 Apr 2026 03:55:52 +0000 Subject: [PATCH] Update help messages of CLI commands --- docs/cli/build/locally.md | 35 ++++++++++++++++++++--------------- docs/cli/dist-git/init.md | 3 +++ 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/docs/cli/build/locally.md b/docs/cli/build/locally.md index f2bbb17e6a..4fcb9ada81 100644 --- a/docs/cli/build/locally.md +++ b/docs/cli/build/locally.md @@ -18,18 +18,23 @@ Create RPMs using content of the upstream repository. repository, it defaults to the current working directory Options: - --upstream-ref TEXT Git ref of the last upstream commit in the current - branch from which packit should generate patches - (this option implies the repository is source- - git). - --release-suffix TEXT Specifies release suffix. Allows to override - default generated:{current_time}.{sanitized_curren - t_branch}{git_desc_suffix} - --default-release-suffix Allows to use default, packit-generated, release - suffix when some release_suffix is specified in - the configuration. - -p, --package TEXT Package to build, if more than one available, like - in a monorepo configuration. Use it multiple times - to select multiple packages.Defaults to all the - packages listed inside the config. - -h, --help Show this message and exit. + --upstream-ref TEXT Git ref of the last upstream commit in the + current branch from which packit should + generate patches (this option implies the + repository is source-git). + --update-release / --no-update-release + Specifies whether to update Release. + Defaults to value set in configuration, + which defaults to yes. + --release-suffix TEXT Specifies release suffix. Allows to override + default generated:{current_time}.{sanitized_ + current_branch}{git_desc_suffix} + --default-release-suffix Allows to use default, packit-generated, + release suffix when some release_suffix is + specified in the configuration. + -p, --package TEXT Package to build, if more than one + available, like in a monorepo configuration. + Use it multiple times to select multiple + packages.Defaults to all the packages listed + inside the config. + -h, --help Show this message and exit. diff --git a/docs/cli/dist-git/init.md b/docs/cli/dist-git/init.md index 6ae06d31b8..b4831dcb43 100644 --- a/docs/cli/dist-git/init.md +++ b/docs/cli/dist-git/init.md @@ -74,6 +74,9 @@ Create a Packit's dist-git configuration for release syncing to Fedora. tags to exclude. --version-update-mask TEXT Python regex used for comparison of the old and the new version. + --version-update-specifiers TEXT + PEP 440 version specifier set (e.g. '>=1.0, + <2.0') used to filter the proposed version. --issue-repository TEXT URL of a git repository that can be used for reporting errors in form of issues. --no-pull Do not include the pull from upstream job in