From 99d144532e9bd722237fe0832490cb978754f76c Mon Sep 17 00:00:00 2001 From: filifa Date: Fri, 9 May 2025 22:09:39 -0400 Subject: [PATCH] update flags --- cmd/root.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 7f6baca..6f3e96c 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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") }