From 8eb08f4f3fad745679724b378825efb08fd88f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Rold=C3=A1n=20Betancort?= Date: Thu, 27 Jul 2023 10:32:06 +0100 Subject: [PATCH] Improve CLI help for relationship commands it didn't indicate subject relation is possible --- internal/commands/relationship.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/commands/relationship.go b/internal/commands/relationship.go index e570fb11..88a986c8 100644 --- a/internal/commands/relationship.go +++ b/internal/commands/relationship.go @@ -59,21 +59,21 @@ var relationshipCmd = &cobra.Command{ } var createCmd = &cobra.Command{ - Use: "create ", + Use: "create ", Short: "create a Relationship for a Subject", Args: writeRelationshipsFromArgsOrStdin, RunE: writeRelationshipCmdFunc(v1.RelationshipUpdate_OPERATION_CREATE, os.Stdin), } var touchCmd = &cobra.Command{ - Use: "touch ", + Use: "touch ", Short: "idempotently update a Relationship for a Subject", Args: writeRelationshipsFromArgsOrStdin, RunE: writeRelationshipCmdFunc(v1.RelationshipUpdate_OPERATION_TOUCH, os.Stdin), } var deleteCmd = &cobra.Command{ - Use: "delete ", + Use: "delete ", Short: "delete a Relationship", Args: writeRelationshipsFromArgsOrStdin, RunE: writeRelationshipCmdFunc(v1.RelationshipUpdate_OPERATION_DELETE, os.Stdin),