Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
@@ -778,6 +778,9 @@ func (f *FlagSet) usage() {
}
func trimQuotes(str string) string {
+ if len(str) == 0 {
+ return str
+ }
type quote struct {
start, end byte