Improved error and help messages for the ".archive" command and "-A" option