use specified basepath

If you specify a basepath with the -b option it is ignored...