summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2024-01-14 14:47:57 -0800
committerDan Fandrich <dan@coneharvesters.com>2024-02-03 17:55:16 -0800
commit20865cc23ddcc2e24c29f31d8339dd6f2e27d163 (patch)
tree570b27a5cde273afb74ba11c9b4f7f204dd3daaf
parent9222da3a76d5e6e3df0c15bf7614e0ff50b0680d (diff)
downloadmgatools-20865cc23ddcc2e24c29f31d8339dd6f2e27d163.tar
mgatools-20865cc23ddcc2e24c29f31d8339dd6f2e27d163.tar.gz
mgatools-20865cc23ddcc2e24c29f31d8339dd6f2e27d163.tar.bz2
mgatools-20865cc23ddcc2e24c29f31d8339dd6f2e27d163.tar.xz
mgatools-20865cc23ddcc2e24c29f31d8339dd6f2e27d163.zip
Document command-line options in mga-move-pkg
-rwxr-xr-xmga-move-pkg4
1 files changed, 4 insertions, 0 deletions
diff --git a/mga-move-pkg b/mga-move-pkg
index 2187d30..704c019 100755
--- a/mga-move-pkg
+++ b/mga-move-pkg
@@ -24,6 +24,10 @@ fi
function usage()
{
echo "Usage: $(basename $0) [--dry-run] [--sync] [--no-confirm] [--backport] <release>/<section>/<pkg> [[--backport] <release>/<section>/<pkg>...]" >&2
+ echo "--dry-run Just display commands and don't run them"
+ echo "--sync Update hdlists after move"
+ echo "--no-confirm Don't require manual confirmation for each move (only valid if full SRPM names given)"
+ echo "--backport The following package is in subsection \"backports\" (default \"updates\")"
exit 1
}
[ $# -lt 1 ] && usage