Fix spurious compile warning.
Fix missing short option for box-id.
Add informative error message for bad command-line usage.