From 165f4d93b9a6adcd7e6f6a2de17c84d9660ba873 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 28 Jan 2018 16:46:13 +0100 Subject: App#read_config: Clarify the meaning of 'subdomain' when asking for it The first time I saw it, I wasn't sure what format of subdomain this prompt wanted, and entered 'acme.harvestapp.com'. Since it's not documented in the README either, I had to source-dive to find the answer. Clarify what should be entered here by including an example in the prompt. --- lib/hcl/app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hcl/app.rb b/lib/hcl/app.rb index 4f2530b..f15c071 100644 --- a/lib/hcl/app.rb +++ b/lib/hcl/app.rb @@ -168,7 +168,7 @@ EOM puts "Please specify your Harvest credentials.\n" config['login'] = ask("Email Address: ").to_s config['password'] = ask("Password: ") { |q| q.echo = false }.to_s - config['subdomain'] = ask("Subdomain: ").to_s + config['subdomain'] = ask("Subdomain (acme in acme.harvestapp.com): ").to_s @http = HCl::Net.new config write_config config end -- cgit v1.2.3