V0.6: support -a option