read config with long argument