using --tasks option to perform completion