]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Fix: lib: keyringer_get_file: improved prompt message
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 25 Oct 2025 16:26:35 +0000 (13:26 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 25 Oct 2025 16:26:35 +0000 (13:26 -0300)
lib/keyringer/functions

index 0a5ad570584ce1c6573f2fc32be643df69fd5865..d9b97e325f82bc068c107028e91309a7ea2540e8 100755 (executable)
@@ -467,7 +467,7 @@ function keyringer_get_file {
       done
 
       echo ""
-      read -p "Enter option (Ctrl-C to abort): " option
+      read -p "Enter number, secret name or pattern (Ctrl-C to abort): " option
 
       if [[ "$option" =~ ^[0-9]+$ ]] && [ ! -z "${candidates[$option]}" ]; then
         FILE="$(keyringer_filename "$RELATIVE_PATH/${candidates[$option]}")"