@@ -23,17 +23,18 @@ import (
2323 "strings"
2424 "time"
2525
26- "flag"
27- "log"
28- "bitbucket.org/creachadair/stringset"
26+ "bitbucket.org/creachadair/stringset"
27+
28+ "flag"
29+ "log"
2930)
3031
3132var (
3233 inputPath = flag .String ("input" , "" , "input jar path" )
33- coreJarPathsStr = flag .String ("core_jars" , "" , "input core jar paths, to filter against" )
34+ coreJarPathsStr = flag .String ("core_jars" , "" , "input core jar paths, to filter against" )
3435 outputCoreJarPath = flag .String ("output_core_jar" , "" , "output core jar path" )
3536 outputAuxiliaryJarPath = flag .String ("output_auxiliary_jar" , "" , "output auxiliary jar path" )
36- exclusionsStr = flag .String ("exclusions" , "" , "packages to skip in core jar" )
37+ exclusionsStr = flag .String ("exclusions" , "" , "packages to skip in core jar" )
3738
3839 martinEpoch = parseTimeOrDie (time .RFC3339 , "2010-01-01T00:00:00Z" )
3940)
@@ -92,17 +93,17 @@ func (z *outputZip) Copy(f *zip.File) error {
9293}
9394
9495func portableInit () {
95- flag .Parse ()
96+ flag .Parse ()
9697}
9798
9899func main () {
99- portableInit ()
100+ portableInit ()
100101
101102 packages := stringset .New ()
102- coreJarPathsArr := strings .Split (* coreJarPathsStr , "," )
103- coreJarPaths := & coreJarPathsArr
104- exclusionsArr := strings .Split (* exclusionsStr , "," )
105- exclusions := & exclusionsArr
103+ coreJarPathsArr := strings .Split (* coreJarPathsStr , "," )
104+ coreJarPaths := & coreJarPathsArr
105+ exclusionsArr := strings .Split (* exclusionsStr , "," )
106+ exclusions := & exclusionsArr
106107
107108 for _ , coreJar := range * coreJarPaths {
108109 r , err := zip .OpenReader (coreJar )
0 commit comments