From 8c0694b6a1c2fed4e213a37c82693c41c804d943 Mon Sep 17 00:00:00 2001 From: Will Winder Date: Fri, 6 Nov 2020 09:29:58 -0500 Subject: [PATCH 1/2] Better 'goal asset' help documentation. --- cmd/goal/asset.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/goal/asset.go b/cmd/goal/asset.go index 074e00bfbb..6c893754f4 100644 --- a/cmd/goal/asset.go +++ b/cmd/goal/asset.go @@ -67,7 +67,7 @@ func init() { createAssetCmd.MarkFlagRequired("creator") destroyAssetCmd.Flags().StringVar(&assetManager, "manager", "", "Manager account to issue the destroy transaction (defaults to creator)") - destroyAssetCmd.Flags().StringVar(&assetCreator, "creator", "", "Account address for asset to destroy") + destroyAssetCmd.Flags().StringVar(&assetCreator, "creator", "", "Creator account address for asset to destroy") destroyAssetCmd.Flags().Uint64Var(&assetID, "assetid", 0, "Asset ID to destroy") destroyAssetCmd.Flags().StringVar(&assetUnitName, "asset", "", "Unit name of asset to destroy") @@ -256,7 +256,7 @@ var createAssetCmd = &cobra.Command{ var destroyAssetCmd = &cobra.Command{ Use: "destroy", Short: "Destroy an asset", - Long: `Issue a transaction deleting an asset from the network. This transaction must be issued by the asset owner, who must hold all outstanding asset tokens.`, + Long: `Issue a transaction deleting an asset from the network. This transaction must be issued by the asset manager while the creator holds all asset tokens.`, Args: validateNoPosArgsFn, Run: func(cmd *cobra.Command, _ []string) { checkTxValidityPeriodCmdFlags(cmd) From b15c7a0692f9549afd46b3b24fb73fa8589c2bc4 Mon Sep 17 00:00:00 2001 From: Will Winder Date: Mon, 9 Nov 2020 14:33:01 -0500 Subject: [PATCH 2/2] Adjust phrasing --- cmd/goal/asset.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/goal/asset.go b/cmd/goal/asset.go index 6c893754f4..f8d9fb68cb 100644 --- a/cmd/goal/asset.go +++ b/cmd/goal/asset.go @@ -256,7 +256,7 @@ var createAssetCmd = &cobra.Command{ var destroyAssetCmd = &cobra.Command{ Use: "destroy", Short: "Destroy an asset", - Long: `Issue a transaction deleting an asset from the network. This transaction must be issued by the asset manager while the creator holds all asset tokens.`, + Long: `Issue a transaction deleting an asset from the network. This transaction must be issued by the asset manager while the creator holds all of the asset's tokens.`, Args: validateNoPosArgsFn, Run: func(cmd *cobra.Command, _ []string) { checkTxValidityPeriodCmdFlags(cmd)