options: add diagnostics on incorrect argument usage