usertools: replace optparse with argparse