summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorAlex Goodman <wagoodman@gmail.com>2018-10-21 13:03:10 -0400
committerAlex Goodman <wagoodman@gmail.com>2018-10-21 13:04:26 -0400
commitfad2354e894b1b642c9765c5272aa1939b7c0be4 (patch)
tree86bd02cb2cbaf97d141063670b89b1804161aacc /cmd
parent3ea8c0ab4ab984ae27917de9ed7e8c6e7d99a9a2 (diff)
fixed inefficient file report bug
Diffstat (limited to 'cmd')
-rw-r--r--cmd/build.go2
-rw-r--r--cmd/root.go10
2 files changed, 6 insertions, 6 deletions
diff --git a/cmd/build.go b/cmd/build.go
index d6fe2fd..49c41b2 100644
--- a/cmd/build.go
+++ b/cmd/build.go
@@ -5,9 +5,9 @@ import (
"github.com/spf13/cobra"
"github.com/wagoodman/dive/image"
"github.com/wagoodman/dive/ui"
+ "github.com/wagoodman/dive/utils"
"io/ioutil"
"os"
- "github.com/wagoodman/dive/utils"
)
// buildCmd represents the build command
diff --git a/cmd/root.go b/cmd/root.go
index c78421f..47dbb97 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -2,13 +2,13 @@ package cmd
import (
"fmt"
+ "github.com/k0kubun/go-ansi"
"github.com/mitchellh/go-homedir"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"github.com/spf13/viper"
- "os"
"github.com/tebeka/atexit"
- "github.com/k0kubun/go-ansi"
+ "os"
)
var cfgFile string
@@ -17,10 +17,10 @@ var cfgFile string
var rootCmd = &cobra.Command{
Use: "dive [IMAGE]",
Short: "Docker Image Visualizer & Explorer",
- Long: `This tool provides a way to discover and explore the contents of a docker image. Additionally the tool estimates
+ Long: `This tool provides a way to discover and explore the contents of a docker image. Additionally the tool estimates
the amount of wasted space and identifies the offending files from the image.`,
- Args: cobra.ExactArgs(1),
- Run: analyze,
+ Args: cobra.ExactArgs(1),
+ Run: analyze,
}
// Execute adds all child commands to the root command and sets flags appropriately.