[sr-dev] git:master:4f7b5537: core: main - several optarg safety checks