From f6f05822b727d42b85ea03b23d4e2d4240b24215 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 7 Apr 2023 00:13:03 -0700 Subject: Support -r in the up command (mga#3913) --- MgaRepo/commands/up.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'MgaRepo/commands') diff --git a/MgaRepo/commands/up.py b/MgaRepo/commands/up.py index 646a79f..18635f9 100644 --- a/MgaRepo/commands/up.py +++ b/MgaRepo/commands/up.py @@ -8,11 +8,13 @@ Usage: mgarepo up [PATH] Update the package working copy and synchronize all binaries. Options: + -r REV Revision to update to -h help """ def parse_options(): parser = OptionParser(help=HELP) + parser.add_option("-r", dest="revision") opts, args = parser.parse_args() if args: opts.target = args[0] -- cgit v1.2.1