parser=argparse.ArgumentParser(description='Find latest version for a GNOME package by crawling their release server.')
parser.add_argument('package-name',help='Name of the directory in https://ftp.gnome.org/pub/GNOME/sources/ containing the package.')
parser.add_argument('version-policy',help='Policy determining which versions are considered stable. For most GNOME packages, odd minor versions are unstable but there are exceptions.',choices=version_policies.keys(),nargs='?',default='odd-unstable')
parser.add_argument('requested-release',help='Most of the time, we will want to update to stable version but sometimes it is useful to test.',choices=['stable','unstable'],nargs='?',default='stable')