]> git.proxmox.com Git - proxmox-offline-mirror.git/commitdiff
mirror wizard: remove stray ':' from filter query
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 21 Oct 2022 11:11:37 +0000 (13:11 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 21 Oct 2022 11:11:37 +0000 (13:11 +0200)
the query helper already adds the final ':'.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/bin/proxmox-offline-mirror.rs

index a2a5b79d300997dff40fb81127406b9a1412311a..f7ef7e67afd125bbb0e428c7352752460da56e8a 100644 (file)
@@ -99,7 +99,7 @@ fn derive_debian_repo(
 ) -> Result<(String, String, String, SkipConfig), Error> {
     println!("Configure filters for Debian mirror {release} / {variant}:");
     let skip_sections = match read_string_from_tty(
-        "\tEnter list of package sections to be skipped ('-' for None):",
+        "\tEnter list of package sections to be skipped ('-' for None)",
         Some("debug,games"),
     )?
     .as_str()
@@ -112,7 +112,7 @@ fn derive_debian_repo(
         ),
     };
     let skip_packages = match read_string_from_tty(
-        "\tEnter list of package names/name globs to be skipped ('-' for None):",
+        "\tEnter list of package names/name globs to be skipped ('-' for None)",
         None,
     )?
     .as_str()