Change --folder by --dir in example