summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-01-28 16:46:13 +0100
committerTeddy Wing2018-01-28 21:07:25 +0100
commit165f4d93b9a6adcd7e6f6a2de17c84d9660ba873 (patch)
treea69a27c54ee40802f9b28615b2db17eb5f3c7685
parentcea2bbe0d1b2c9629d7fab397093856580a9e099 (diff)
downloadhcl-165f4d93b9a6adcd7e6f6a2de17c84d9660ba873.tar.bz2
App#read_config: Clarify the meaning of 'subdomain' when asking for itgive-example-in-subdomain-prompt
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.
-rw-r--r--lib/hcl/app.rb2
1 files changed, 1 insertions, 1 deletions
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