parser.add_argument('-RTL','--stop_at_RTL',metavar='0-1',default='0',help='stop pruning when the relative tree length falls below RTL',type=restricted_float,nargs='?')
parser.add_argument('-r','--resolution',metavar='INT',default=1,help='number of leaves to prune at each iteration (default: 1)',type=int,nargs='?')
parser.add_argument('-p','--solve_polytomies',help='resolve polytomies at random (default: FALSE)',action='store_true',default=False)
parser.add_argument('-pr','--random',help='prune random leaves (default: FALSE)',action='store_true',default=False)
parser.add_argument('-lp','--leaves_pair',metavar='0,1,2',default=2,help='After the pair of leaves with the smallest distance is dentified Treemmer prunes: 0: the longest leaf\n1: the shortest leaf\n2: random choice (default)',type=int,nargs='?')
parser.add_argument('-np','--no_plot',help='do not load matplotlib and plot (default: FALSE)',action='store_true',default=False)
parser.add_argument('-fp','--fine_plot',help='when --resolution > 1, plot RTL vs n leaves every time a leaf is pruned (default: FALSE => plot every X leaves (X = -r))',action='store_true',default=False)