mirror of
				https://github.com/davidgiven/fluxengine.git
				synced 2025-10-24 11:11:02 -07:00 
			
		
		
		
	Fix a small typo in proto.cc
Also add long-forms "yes" and "no" as valid options
This commit is contained in:
		| @@ -141,11 +141,13 @@ void setProtoFieldFromString(ProtoField& protoField, const std::string& value) | ||||
| 			static const std::map<std::string, bool> boolvalues = { | ||||
| 				{ "false", false }, | ||||
| 				{ "f",     false }, | ||||
| 				{ "no",    false }, | ||||
| 				{ "n",     false }, | ||||
| 				{ "0",     false }, | ||||
| 				{ "true",  true }, | ||||
| 				{ "t",     true }, | ||||
| 				{ "n",     true }, | ||||
| 				{ "yes",   true }, | ||||
| 				{ "y",     true }, | ||||
| 				{ "1",     true }, | ||||
| 			}; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user