diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-02 22:23:10 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-02 22:23:10 -0500 |
commit | 7e529362470125102f60354d6938154363c4e21d (patch) | |
tree | 3bfa9ed1ba4a1b71abc41d16ae673caa3a975197 /src/bin/rbw/main.rs | |
parent | 604e09e6ae098350bffe18bde26e1c62f7e88a00 (diff) | |
download | rbw-7e529362470125102f60354d6938154363c4e21d.tar.gz rbw-7e529362470125102f60354d6938154363c4e21d.zip |
support VISUAL in preference to EDITOR
Diffstat (limited to 'src/bin/rbw/main.rs')
-rw-r--r-- | src/bin/rbw/main.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/rbw/main.rs b/src/bin/rbw/main.rs index badff67..4380372 100644 --- a/src/bin/rbw/main.rs +++ b/src/bin/rbw/main.rs @@ -74,8 +74,8 @@ enum Opt { long_about = "Add a new password to the database\n\n\ This command will open a text editor to enter \ the password and notes. The editor to use is determined \ - by the value of the $EDITOR environment variable. The \ - first line will be saved as the password and the \ + by the value of the $VISUAL or $EDITOR environment variables. + The first line will be saved as the password and the \ remainder will be saved as a note." )] Add { @@ -156,8 +156,8 @@ enum Opt { This command will open a text editor with the existing \ password and notes of the given entry for editing. \ The editor to use is determined by the value of the \ - $EDITOR environment variable. The first line will be \ - saved as the password and the remainder will be saved \ + $VISUAL or $EDITOR environment variables. The first line \ + will be saved as the password and the remainder will be saved \ as a note." )] Edit { |