update flags
This commit is contained in:
@@ -166,7 +166,7 @@ func init() {
|
||||
|
||||
rootCmd.Flags().BoolVar(&oneline, "oneline", false, "output on one line")
|
||||
|
||||
rootCmd.Flags().StringVar(&weightAttr, "weight-attr", "", "edge attribute to use as weight")
|
||||
rootCmd.Flags().StringVarP(&weightAttr, "weight-attr", "w", "", "edge attribute to use as weight")
|
||||
|
||||
rootCmd.Flags().StringSliceVarP(&nodeOrder, "order", "o", nil, "order of nodes in rows/columns of output")
|
||||
rootCmd.Flags().StringSliceVarP(&nodeOrder, "order", "o", nil, "list the graph node names in the order they should be placed in the matrix")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user