Skip to content

Commit

Permalink
puma-menu: Add prompt for username only
Browse files Browse the repository at this point in the history
  • Loading branch information
clawoflight committed Mar 2, 2018
1 parent f57691d commit 841f408
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/puma-menu
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ if [[ x"$1" = x"-p" ]]; then
prompt="Password only:"
fi

if [[ x"$1" = x"-u" ]]; then
puma_args+=(-u)
prompt="Username only:"
fi

find "$PUMA_KEYRING" -readable -name '*.gpg' -not -type d -printf "%P\n" |
sort |
sed 's/\(.*\)\..*/\1/' |
Expand Down

0 comments on commit 841f408

Please sign in to comment.