diff --git a/rust/agama-cli/src/commands.rs b/rust/agama-cli/src/commands.rs index 71c5df6a53..c082c81057 100644 --- a/rust/agama-cli/src/commands.rs +++ b/rust/agama-cli/src/commands.rs @@ -7,13 +7,14 @@ use clap::Subcommand; #[derive(Subcommand, Debug)] pub enum Commands { - /// Change or show the installation settings. + /// Inspect or change the installation settings. /// - /// You can set any Agama configuration value from the command-line. You can change individual - /// values the "add" or "set" commands. Or modify many of them at a time by loading a so-called - /// profile through the "load" command. + /// You can inspect and change installation settings from the command-line. The "show" + /// subcommand generates a "profile" which is a JSON document describing the current + /// configuration. /// - /// Use "show" to display the current configuration in JSON format. + /// If you want to change any configuration value, you can load a profile (complete or partial) + /// using the "load" subcommand. #[command(subcommand)] Config(ConfigCommands), diff --git a/rust/agama-cli/src/config.rs b/rust/agama-cli/src/config.rs index d5bb8bb8e0..1f97056616 100644 --- a/rust/agama-cli/src/config.rs +++ b/rust/agama-cli/src/config.rs @@ -11,15 +11,15 @@ use clap::Subcommand; #[derive(Subcommand, Debug)] pub enum ConfigCommands { - /// Shows the value of the configuration settings. + /// Generates an installation profile with the current settings. /// /// It is possible that many configuration settings do not have a value. Those settings /// are not included in the output. /// - /// The output of command can be used as file content for `agama config load`. + /// The output of command can be used as input for the "agama config load". Show, - /// Loads the configuration from a JSON file. + /// Reads and loads a profile from the standard input. Load, } diff --git a/rust/package/agama.changes b/rust/package/agama.changes index 2d838161e9..2c0bffdd96 100644 --- a/rust/package/agama.changes +++ b/rust/package/agama.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 14 06:17:52 UTC 2024 - Imobach Gonzalez Sosa + +- Remove references to the old "config add/set" subcommands + (gh#openSUSE/agama/#1338). + ------------------------------------------------------------------- Thu Jun 13 10:50:44 UTC 2024 - Knut Anderssen