Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
SUSEConnect.1259
url-implies-writeconfig.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File url-implies-writeconfig.diff of Package SUSEConnect.1259
diff --git a/lib/suse/connect/cli.rb b/lib/suse/connect/cli.rb index 0554bea..bf25b86 100644 --- a/lib/suse/connect/cli.rb +++ b/lib/suse/connect/cli.rb @@ -114,9 +114,11 @@ module SUSE @options[:email] = opt end - @opts.on('--url [URL]', 'URL of registration server (e.g. https://scc.suse.com).') do |opt| + @opts.on('--url [URL]', 'URL of registration server (e.g. https://scc.suse.com).', + ' Implies --write-config so that subsequent invocations use the same registration server.') do |opt| check_if_param(opt, 'Please provide registration server URL') @options[:url] = opt + @options[:write_config] = true end @opts.on('-s', '--status', 'get current system registration status in json format') do |opt|
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor