update flags

This commit is contained in:
filifa 2025-05-09 22:09:39 -04:00
parent a0f7da8a09
commit 99d144532e
1 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ func init() {
rootCmd.Flags().BoolVar(&oneline, "oneline", false, "output on one line") 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")
} }