Merge branch 'master' of github.com:wagoodman/dive
This commit is contained in:
commit
5459279576
@ -249,5 +249,5 @@ layer:
|
||||
dive will search for configs in the following locations:
|
||||
- `$XDG_CONFIG_HOME/dive/*.yaml`
|
||||
- `$XDG_CONFIG_DIRS/dive/*.yaml`
|
||||
- `~/.config/dive.yaml`
|
||||
- `~/.config/dive/*.yaml`
|
||||
- `~/.dive.yaml`
|
||||
|
@ -41,7 +41,7 @@ func Execute() {
|
||||
func init() {
|
||||
cobra.OnInitialize(initConfig)
|
||||
|
||||
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.dive.yaml, ~/.config/dive.yaml, or $XDG_CONFIG_HOME/dive.yaml)")
|
||||
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.dive.yaml, ~/.config/dive/*.yaml, or $XDG_CONFIG_HOME/dive.yaml)")
|
||||
rootCmd.PersistentFlags().BoolP("version", "v", false, "display version number")
|
||||
|
||||
rootCmd.Flags().StringVarP(&exportFile, "json", "j", "", "Skip the interactive TUI and write the layer analysis statistics to a given file.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user