We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 054e84a commit a4018d9Copy full SHA for a4018d9
1 file changed
source/bin/restacker
@@ -111,13 +111,13 @@ end
111
options, unparsed = Parser.parse(ARGV)
112
113
# set the username to $USER if not specified
114
-options[:username] = options[:username] || RestackerConfig.default_user || ENV['USER']
+options[:username] = RestackerConfig.find_user(options)
115
116
begin
117
action = unparsed.pop
118
puts(VERSION) || exit(0) if options[:version]
119
usage("Please specify an ACTION") && exit(0) if action.nil?
120
- plane = RestackerConfig.load_config(options)
+ plane = RestackerConfig.get_plane(options)
121
122
if action == 'configure'
123
printf "%-s (%s)\n", Rainbow("CONFIGURING PLANE").white.bright.underline, plane
0 commit comments