Fixed the - option to also take dependencies into account.