-options = [make_option('-s', '--stat',
- help = 'show the diff stat',
- action = 'store_true'),
- make_option('-b', '--branch',
- help = 'use BRANCH instead of the default one')]
+args = [argparse.applied_patches, argparse.unapplied_patches,
+ argparse.hidden_patches]
+options = [
+ opt('-s', '--stat', action = 'store_true',
+ short = 'Show the diffstat'),
+ opt('--bare', action = 'store_true',
+ short = 'Bare file names (useful for scripting)'),
+ ] + argparse.diff_opts_option()