From 1c81cd747d3da610ba8e578a21cfd054c61f2345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Fri, 14 Jun 2024 07:17:41 +0100 Subject: [PATCH 1/2] doc(rust): remove references to config set/add commands --- rust/agama-cli/src/commands.rs | 11 ++++++----- rust/agama-cli/src/config.rs | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) 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, } From c9b740ec7a820e04876c2a992e51c74028192a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Fri, 14 Jun 2024 07:20:00 +0100 Subject: [PATCH 2/2] doc(rust): update changes file --- rust/package/agama.changes | 6 ++++++ 1 file changed, 6 insertions(+) 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