fix -a requiring argument

When compiled without `libconfig`, command line option `-a` requires an argument.