bugfix: -a option value handling was buggy. thanks Kan Wang for the patch.