{"dry-run", no_argument, 0, 'N'},
{"no-recommends", no_argument, 0, 0 },
{"recommends", no_argument, 0, 0 },
+ {"download-only", no_argument, 0, 'd'},
// rug compatibility - will mark all packages for installation (like 'in *')
{"entire-catalog", required_argument, 0, 0 },
{"help", no_argument, 0, 'h'},
"-R, --force-resolution Force the solver to find a solution (even\n"
" an agressive).\n"
"-D, --dry-run Test the installation, do not actually install.\n"
+ "-d, --download-only Only download the packages, do not install.\n"
), "package, patch, pattern, product", "package");
break;
}
{"dry-run", no_argument, 0, 'D'},
// rug uses -N shorthand
{"dry-run", no_argument, 0, 'N'},
+ {"download-only", no_argument, 0, 'd'},
{"repo", required_argument, 0, 'r'},
{"no-recommends", no_argument, 0, 0},
{"help", no_argument, 0, 'h'},
" to the required.\n"
"-D, --dry-run Test the repair, do not actually do anything to\n"
" the system.\n"
+ "-d, --download-only Only download needed packages, do not install.\n"
);
break;
}
{
static struct option options[] = {
{"dry-run", no_argument, 0, 'D'},
+ {"download-only", no_argument, 0, 'd'},
{"repo", required_argument, 0, 'r'},
{"debug-solver", no_argument, 0, 0},
{"help", no_argument, 0, 'h'},
" Command options:\n"
"-r, --repo <alias|#|URI> Use only specified repositories to install packages.\n"
"-D, --dry-run Test the installation, do not actually install anything.\n"
+ "-d, --download-only Only download the packages, do not install.\n"
" --debug-solver Create solver test case for debugging.\n"
);
break;
{"dry-run", no_argument, 0, 'D'},
// rug uses -N shorthand
{"dry-run", no_argument, 0, 'N'},
- // dummy for now
{"download-only", no_argument, 0, 'd'},
// rug-compatibility - dummy for now
+ //! \todo category can now be implemented in 'patch' using PoolQuery
{"category", no_argument, 0, 'g'},
{"help", no_argument, 0, 'h'},
{0, 0, 0, 0}
" --force-resolution Force the solver to find a solution (even\n"
" an agressive).\n"
"-D, --dry-run Test the update, do not actually update.\n"
+ "-d, --download-only Only download the packages, do not install.\n"
), "package, patch, pattern, product", "package");
break;
}
{"no-recommends", no_argument, 0, 0 },
{"recommends", no_argument, 0, 0 },
{"dry-run", no_argument, 0, 'D'},
+ {"download-only", no_argument, 0, 'd'},
{"bz", required_argument, 0, 'b'},
{"bugzilla", required_argument, 0, 'b'},
{"cve", required_argument, 0, 0 },
" to the required.\n"
"-r, --repo <alias|#|URI> Load only the specified repository.\n"
"-D, --dry-run Test the update, do not actually update.\n"
+ "-d, --download-only Only download the packages, do not install.\n"
);
break;
}
{"dry-run", no_argument, 0, 'D'},
// rug uses -N shorthand
{"dry-run", no_argument, 0, 'N'},
+ {"download-only", no_argument, 0, 'd'},
{"help", no_argument, 0, 'h'},
{0, 0, 0, 0}
};
" --recommends Install also recommended packages in addition\n"
" to the required.\n"
"-D, --dry-run Test the upgrade, do not actually upgrade\n"
+ "-d, --download-only Only download the packages, do not install.\n"
);
break;
}
return;
}
- if (_copts.count("download-only"))
- report_dummy_option(out(), "download-only");
if (_copts.count("category"))
report_dummy_option(out(), "category");