Finish genconfig command