diff --git a/commands/s19-isolate-all.go b/commands/s19-isolate-all.go index be8ca86..14df73c 100644 --- a/commands/s19-isolate-all.go +++ b/commands/s19-isolate-all.go @@ -11,8 +11,7 @@ import ( ) type S19IsolateAllPartitionsCommand struct { - FileName string `long:"file" short:"f" required:"true" description:"s19 filename"` - OutputDir string `long:"out" short:"o" required:"true" description:"output dir, format:dir+mpar/bin"` + FileName string `long:"file" short:"f" required:"true" description:"s19 filename"` } func (command *S19IsolateAllPartitionsCommand) Execute(args []string) error { @@ -59,10 +58,10 @@ func (command *S19IsolateAllPartitionsCommand) Execute(args []string) error { ), ) - if fpHeader.TotalSize == 0 { - log.Warn().Msg("cannot extract a partition thats empty") - continue - } + // if fpHeader.TotalSize == 0 { + // log.Warn().Msg("cannot extract a partition thats empty") + // continue + // } // { outMBarFile, err := os.Create(path.Join("s19-dump", path.Base(command.FileName), fmt.Sprintf("part%d.mpar", index))) diff --git a/commands/s19-isolate.go b/commands/s19-isolate.go index 85c1ef5..5977b91 100644 --- a/commands/s19-isolate.go +++ b/commands/s19-isolate.go @@ -62,10 +62,10 @@ func (command *S19IsolatePartitionCommand) Execute(args []string) error { ), ) - if fpHeader.TotalSize == 0 { - log.Error().Msg("cannot extract a partition thats empty") - return nil - } + // if fpHeader.TotalSize == 0 { + // log.Error().Msg("cannot extract a partition thats empty") + // return nil + // } // { outMBarFile, err := os.Create(command.OutputFileName)