Skip to content

Commit

Permalink
removed default topo file setting
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Oct 3, 2020
1 parent 70c950c commit db5bd01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ func Execute() {
func init() {
rootCmd.SilenceUsage = true
rootCmd.PersistentFlags().BoolVarP(&debug, "debug", "d", false, "enable debug mode")
rootCmd.PersistentFlags().StringVarP(&topo, "topo", "t", "/etc/containerlab/lab-examples/wan-topo.yml", "path to the file with topology information")
rootCmd.PersistentFlags().StringVarP(&topo, "topo", "t", "", "path to the file with topology information")
rootCmd.PersistentFlags().StringVarP(&prefix, "prefix", "p", "", "lab name prefix")
rootCmd.PersistentFlags().DurationVarP(&timeout, "timeout", "", 30 *time.Second, "timeout for docker requests, e.g: 30s, 1m, 2m30s")
rootCmd.PersistentFlags().DurationVarP(&timeout, "timeout", "", 30*time.Second, "timeout for docker requests, e.g: 30s, 1m, 2m30s")

}

0 comments on commit db5bd01

Please sign in to comment.