mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-09-03 15:47:27 -04:00
Fix typo in ParseConfig documentation
This commit is contained in:
@@ -20,7 +20,7 @@ func loadConfig() *ini.File {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ParseConfig reads the libmutton.ini file and returns a slice of values for the specified keys.
|
// ParseConfig reads the libmutton.ini file and returns a slice of values for the specified keys.
|
||||||
// Requires: requestedValues (a slice of length 2 arrays each containing a section and a key name),
|
// Requires: valuesRequested (a slice of length 2 arrays each containing a section and a key name),
|
||||||
// missingValueError (an error message to display if a key is missing a value, set to "" for auto-generated or "0" to exit/return silently with code 0).
|
// missingValueError (an error message to display if a key is missing a value, set to "" for auto-generated or "0" to exit/return silently with code 0).
|
||||||
// Returns: config (slice of values for the specified keys).
|
// Returns: config (slice of values for the specified keys).
|
||||||
func ParseConfig(valuesRequested [][2]string, missingValueError string) []string {
|
func ParseConfig(valuesRequested [][2]string, missingValueError string) []string {
|
||||||
|
|||||||
Reference in New Issue
Block a user