We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3406273 commit c342327Copy full SHA for c342327
cmd/pdfcpu/process.go
@@ -1576,7 +1576,7 @@ func processAddPropertiesCommand(conf *model.Configuration) {
1576
continue
1577
}
1578
// Ensure key value pair.
1579
- ss := strings.Split(arg, "=")
+ ss := strings.SplitN(arg, "=", 2)
1580
if len(ss) != 2 {
1581
fmt.Fprintf(os.Stderr, "keyValuePair = 'key = value'\n")
1582
fmt.Fprintf(os.Stderr, "usage: %s\n\n", usagePropertiesAdd)
0 commit comments