Extract complete_from_schema() from complete_arg_val().