aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/commands/up.py
diff options
context:
space:
mode:
Diffstat (limited to 'MgaRepo/commands/up.py')
-rw-r--r--MgaRepo/commands/up.py2
1 files changed, 2 insertions, 0 deletions
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]