cli: fix bug where configs would not completely pass through