Added a missing exit function to db command line argument