diff --git a/src/cmd/users.go b/src/cmd/users.go index fda9fd7..591558e 100644 --- a/src/cmd/users.go +++ b/src/cmd/users.go @@ -22,6 +22,10 @@ func UsersCmd() *cobra.Command { Short: "Displays all users from the author file located at:\n" + authorfile, Long: `Displays all users from the author file located at:` + "\n" + authorfile, Run: func(cmd *cobra.Command, args []string) { + if update { + update_msg() + } + //TODO: make this print a bit prettier (sort it and maybe use a table) // check if the no pretty print flag is set np, _ := cmd.Flags().GetBool("np")