aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2015-08-21 17:44:53 +0200
committerRasmus Steinke <rasi@xssn.at>2015-08-21 17:44:53 +0200
commit029071714d4d9f1bd1d298e45a4a09c5a9052baa (patch)
tree95a07a1cc8f67a6fbe557da4ecd751c8125524c9
parentedeed6cbfe338a624ba000fb166df58e2abcef1b (diff)
downloadrofi-pass-029071714d4d9f1bd1d298e45a4a09c5a9052baa.tar.gz
update --help
-rwxr-xr-xrofi-pass4
1 files changed, 3 insertions, 1 deletions
diff --git a/rofi-pass b/rofi-pass
index 0678819..e3e61be 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -20,7 +20,7 @@ if [[ -z $BROWSER ]]; then
fi
# check if alternative root directory was given on commandline
-if [[ $1 == "--last-used" ]]; then
+if [[ $1 == "--last-used" || $1 == "--show-last" ]]; then
root=$(awk -F ': ' '{ print $1 }' $HOME/.config/rofi-pass/last_used)
elif [[ -n "$2" && "$1" == "--root" ]]; then
root="${2}"
@@ -338,6 +338,8 @@ help_msg () {
echo "--insert insert new entry to password store"
echo "--manage edit/move/delete entries"
echo -e "--root set custom root directory"
+ echo "--last-used highlight last used item"
+ echo "--show-last show details of last used Entry"
}
##########################