Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Commit

Permalink
Fix help text
Browse files Browse the repository at this point in the history
  • Loading branch information
William Johnston committed Mar 26, 2016
1 parent 1c445ba commit 51b2ed3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v1.0.1 (unreleased)

* Clean up help response.

v1.0.0

* Add support for creating a ticket with WebFaction directly.
Expand Down
2 changes: 1 addition & 1 deletion lib/letsencrypt_webfaction/args_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

module LetsencryptWebfaction
class ArgsParser
BANNER = 'Usage: get_cert [options]'.freeze
BANNER = 'Usage: letsencrypt_webfaction [options]'.freeze
DEFAULTS_PATH = 'config.defaults.yml'.freeze
VALID_KEY_SIZES = [2048, 4096].freeze

Expand Down
2 changes: 1 addition & 1 deletion spec/lib/letsencrypt_webfaction/args_parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
let(:args) { ['--help'] }

it 'exits and outputs help text' do
expect { args_parser }.to raise_error(SystemExit).and output(/Usage: get_cert \[options\]/).to_stdout
expect { args_parser }.to raise_error(SystemExit).and output(/Usage: letsencrypt_webfaction \[options\]/).to_stdout
end
end

Expand Down

0 comments on commit 51b2ed3

Please sign in to comment.