diff --git a/lib/vmfloaty.rb b/lib/vmfloaty.rb index 7734778..b2fb65a 100644 --- a/lib/vmfloaty.rb +++ b/lib/vmfloaty.rb @@ -90,6 +90,7 @@ class Vmfloaty c.option '--json', 'Prints information as JSON' c.option '--token STRING', String, 'Token for pooler service' c.option '--url STRING', String, 'URL of pooler service' + c.option '--user STRING', String, 'User to authenticate with' c.action do |args, options| verbose = options.verbose || config['verbose'] @@ -212,6 +213,7 @@ class Vmfloaty c.option '--json', 'Outputs hosts scheduled for deletion as JSON' c.option '--token STRING', String, 'Token for pooler service' c.option '--url STRING', String, 'URL of pooler service' + c.option '--user STRING', String, 'User to authenticate with' c.action do |args, options| verbose = options.verbose || config['verbose'] service = Service.new(options, config)