diff options
Diffstat (limited to 'zip/cmd/main.go')
-rw-r--r-- | zip/cmd/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zip/cmd/main.go b/zip/cmd/main.go index 4a0849128..b4f75f7af 100644 --- a/zip/cmd/main.go +++ b/zip/cmd/main.go @@ -136,7 +136,7 @@ func main() { compLevel := flags.Int("L", 5, "deflate compression level (0-9)") emulateJar := flags.Bool("jar", false, "modify the resultant .zip to emulate the output of 'jar'") writeIfChanged := flags.Bool("write_if_changed", false, "only update resultant .zip if it has changed") - + ignoreMissingFiles := flags.Bool("ignore_missing_files", false, "continue if a requested file does not exist") symlinks := flags.Bool("symlinks", true, "store symbolic links in zip instead of following them") parallelJobs := flags.Int("parallel", runtime.NumCPU(), "number of parallel threads to use") @@ -200,6 +200,7 @@ func main() { NonDeflatedFiles: nonDeflatedFiles, WriteIfChanged: *writeIfChanged, StoreSymlinks: *symlinks, + IgnoreMissingFiles: *ignoreMissingFiles, }) if err != nil { fmt.Fprintln(os.Stderr, "error:", err.Error()) |