checksingleton.cxx (51134e9e) checksingleton.cxx (24c56ab9)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 102 unchanged lines hidden (view full) ---

111 {
112 case 'r':
113 case 'R':
114 {
115 if (!((++first != last) && ((*first)[0] != '-')))
116 {
117 return badOption("invalid", option.c_str());
118 }
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 102 unchanged lines hidden (view full) ---

111 {
112 case 'r':
113 case 'R':
114 {
115 if (!((++first != last) && ((*first)[0] != '-')))
116 {
117 return badOption("invalid", option.c_str());
118 }
119 m_typeRegName = OString((*first).c_str(), (*first).size());
119 m_typeRegName = *first;
120 break;
121 }
122 case 'o':
123 case 'O':
124 {
125 if (!((++first != last) && ((*first)[0] != '-')))
126 {
127 return badOption("invalid", option.c_str());

--- 213 unchanged lines hidden ---
120 break;
121 }
122 case 'o':
123 case 'O':
124 {
125 if (!((++first != last) && ((*first)[0] != '-')))
126 {
127 return badOption("invalid", option.c_str());

--- 213 unchanged lines hidden ---