From 6541931b792431fbe5181e145a76403ffb9ed4a4 Mon Sep 17 00:00:00 2001 From: Adrien Waksberg Date: Sat, 20 May 2017 15:30:19 +0200 Subject: [PATCH] enable text editor if threre isn't nothing value who has been set --- bin/mpw-update | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/mpw-update b/bin/mpw-update index 5e2c62d..143e187 100644 --- a/bin/mpw-update +++ b/bin/mpw-update @@ -93,6 +93,8 @@ end.parse! config = MPW::Config.new(options[:config]) cli = MPW::Cli.new(config) +options[:text_editor] = true if values.empty? + cli.load_config cli.get_wallet(options[:wallet]) cli.decrypt