diff --git a/cmd/root.go b/cmd/root.go index 0ba93f1..7f6baca 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -44,13 +44,15 @@ var nodeOrder []string // rootCmd represents the base command when called without any subcommands var rootCmd = &cobra.Command{ Use: "gv2adj", - Short: "A brief description of your application", - Long: `A longer description that spans multiple lines and likely contains -examples and usage of using your application. For example: + Short: "Compute adjacency matrices for Graphviz graphs", + Long: `Compute adjacency matrices (either weighted or unweighted) for Graphviz graphs (both directed and undirected). -Cobra is a CLI library for Go that empowers applications. -This application is a tool to generate the needed files -to quickly create a Cobra application.`, +Compute an unweighted adjacency matrix: +gv2adj -f + +Compute a weighted adjacency matrix, where weights are stored in the 'len' attribute of each edge: +gv2adj -f --weight-attr len + `, // Uncomment the following line if your bare application // has an action associated with it: Run: parse,