diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2024-01-14 14:47:57 -0800 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2024-02-03 17:55:16 -0800 |
commit | 20865cc23ddcc2e24c29f31d8339dd6f2e27d163 (patch) | |
tree | 570b27a5cde273afb74ba11c9b4f7f204dd3daaf | |
parent | 9222da3a76d5e6e3df0c15bf7614e0ff50b0680d (diff) | |
download | mgatools-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-x | mga-move-pkg | 4 |
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 |