Skip to content

Commit

Permalink
note in comments that keys and values must be non-empty
Browse files Browse the repository at this point in the history
  • Loading branch information
natefinch committed Mar 17, 2016
1 parent de9295c commit d773ae6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stringmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import (

// StringMap is a type that deserializes a CLI string using gnuflag's Value
// semantics. It expects a key=value pair, and supports multiple copies of the
// flag adding more pairs, though the keys must be unique.
// flag adding more pairs, though the keys must be unique, and both keys and
// values must be non-empty.
type StringMap struct {
Mapping *map[string]string
}
Expand Down

0 comments on commit d773ae6

Please sign in to comment.