# the 'adopt' mode is really special and doesn't share any option
if mode == 'adopt':
parser.add_option("-m","--module",action="append",dest="modules",default=[],
help="modules, can be used several times or with quotes")
parser.add_option("-t","--tag",action="store", dest="tag", default='master',
help="specify the tag to adopt, default is 'master'")
# the 'adopt' mode is really special and doesn't share any option
if mode == 'adopt':
parser.add_option("-m","--module",action="append",dest="modules",default=[],
help="modules, can be used several times or with quotes")
parser.add_option("-t","--tag",action="store", dest="tag", default='master',
help="specify the tag to adopt, default is 'master'")