Skip to content

Commit

Permalink
install: specify sub-commands that are container build only.
Browse files Browse the repository at this point in the history
We should specify on the CLI description of the install
sub-commands that releasever, disablerepo & enablerepo only
work on a container build.
  • Loading branch information
jmarrero authored and cgwalters committed Mar 24, 2024
1 parent 10d3d98 commit ee75090
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/app/rpmostree-pkg-builtins.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,14 @@ static GOptionEntry option_entries[]
{ "lock-finalization", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &opt_lock_finalization,
"Prevent automatic deployment finalization on shutdown", NULL },
{ "enablerepo", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_enable_repo,
"Enable the repository based on the repo id", NULL },
"Enable the repository based on the repo id. Is only supported in a container build.",
NULL },
{ "disablerepo", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_disable_repo,
"Only disabling all (*) repositories is supported currently", NULL },
{ "releasever", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_release_ver, "Set the releasever",
"Only disabling all (*) repositories is supported currently. Is only supported in a "
"container build.",
NULL },
{ "releasever", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_release_ver,
"Set the releasever. Is only supported in a container build.", NULL },
{ NULL } };

static GOptionEntry uninstall_option_entry[]
Expand Down

0 comments on commit ee75090

Please sign in to comment.