Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions lib/issuer/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ def self.show_help

Site Options:
--proj org/repo #{self.class_options[:proj].description}
--tokenv VAR_NAME #{self.class_options[:tokenv].description}

Mode Options:
--dry, --dry-run #{self.class_options[:dry].description}
Expand All @@ -184,7 +183,7 @@ def self.show_help

Info:
-h, --help #{self.class_options[:help].description}
-v, --version #{self.class_options[:version].description}
--version Show version

Examples:
issuer issues.yml --dry
Expand All @@ -196,7 +195,6 @@ def self.show_help

Authentication:
Set GITHUB_TOKEN environment variable with your GitHub personal access token
Or use --tokenv to specify a custom environment variable name

HELP
end
Expand Down
2 changes: 1 addition & 1 deletion specs/tests/rspec/cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
}.to output(/Would process 2 issues/).to_stdout
end

it 'handles --tokenv option' do
it 'handles --tokenv option (deprecated but functional)' do
ENV['MY_GITHUB_TOKEN'] = 'ghp_xxxxx'

# Mock the Factory to capture the site_options passed to it
Expand Down