Add command-line repair