From 5dd7ff5b34624bc573e3ccf509e777c036d934dc Mon Sep 17 00:00:00 2001 From: Lee Watson Date: Tue, 2 Oct 2018 13:32:39 +0100 Subject: [PATCH] Document DMENU_PATH --- README.md | 2 ++ bin/cli.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 3041316..a477bb1 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ clipboard. $ bitwarden-dmenu --help Usage: bitwarden-dmenu [options] +The DMENU_PATH environment variable can be used to point to an alternative dmenu implementation. Defaults to 'dmenu'. + Options: --clear-clipboard Number of seconds to keep selected field in the clipboard. Defaults to 15s. diff --git a/bin/cli.js b/bin/cli.js index 5e37a20..a9851da 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -15,6 +15,8 @@ if (args.help) { console.log( `Usage: bitwarden-dmenu [options] +The DMENU_PATH environment variable can be used to point to an alternative dmenu implementation. Defaults to 'dmenu'. + Options: --clear-clipboard Number of seconds to keep selected field in the clipboard. Defaults to ${cachePasswordDefault}s.