1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Handle cli arguments after loading config files etc

This commit is contained in:
Richo Healey 2015-03-26 16:38:55 -07:00
parent 99db3e4cf4
commit 3c8cfe5560

View file

@ -62,6 +62,9 @@ class Pry
raise NoOptionsError, "No command line options defined! Use Pry::CLI.add_options to add command line options."
end
# Load config files etc first, ensuring that cli options will take precedence.
Pry.initial_session_setup
self.input_args = args
begin