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:
parent
99db3e4cf4
commit
3c8cfe5560
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue