diff --git a/internal/cmd/coinset/get_coin_records_by_hint.go b/internal/cmd/coinset/get_coin_records_by_hint.go index 9b79534..e24fb3f 100644 --- a/internal/cmd/coinset/get_coin_records_by_hint.go +++ b/internal/cmd/coinset/get_coin_records_by_hint.go @@ -17,8 +17,8 @@ func init() { // Define flags for the optional arguments getCoinRecordsByHintCmd.Flags().BoolVarP(&crByHintCmdIncludeSpentCoins, "include-spent-coins", "s", false, "Include spent coins") - getCoinRecordsByHintCmd.Flags().IntVarP(&crByHintCmdStart, "start", "", -1, "Start height") - getCoinRecordsByHintCmd.Flags().IntVarP(&crByHintCmdEnd, "end", "", -1, "End height") + getCoinRecordsByHintCmd.Flags().IntVarP(&crByHintCmdStart, "start-height", "", -1, "Start height") + getCoinRecordsByHintCmd.Flags().IntVarP(&crByHintCmdEnd, "end-height", "", -1, "End height") } var getCoinRecordsByHintCmd = &cobra.Command{ diff --git a/internal/cmd/coinset/get_coin_records_by_parent_ids.go b/internal/cmd/coinset/get_coin_records_by_parent_ids.go index e850f7e..e82ac1f 100644 --- a/internal/cmd/coinset/get_coin_records_by_parent_ids.go +++ b/internal/cmd/coinset/get_coin_records_by_parent_ids.go @@ -17,8 +17,8 @@ func init() { // Define flags for the optional arguments getCoinRecordsByParentIdsCmd.Flags().BoolVarP(&crByParentIdsIncludeSpentCoins, "include-spent-coins", "s", false, "Include spent coins") - getCoinRecordsByParentIdsCmd.Flags().IntVarP(&crByParentIdsStart, "start", "", -1, "Start height") - getCoinRecordsByParentIdsCmd.Flags().IntVarP(&crByParentIdsEnd, "end", "", -1, "End height") + getCoinRecordsByParentIdsCmd.Flags().IntVarP(&crByParentIdsStart, "start-height", "", -1, "Start height") + getCoinRecordsByParentIdsCmd.Flags().IntVarP(&crByParentIdsEnd, "end-height", "", -1, "End height") } var getCoinRecordsByParentIdsCmd = &cobra.Command{ diff --git a/internal/cmd/coinset/get_coin_records_by_puzzle_hash.go b/internal/cmd/coinset/get_coin_records_by_puzzle_hash.go index 7188049..fe0067c 100644 --- a/internal/cmd/coinset/get_coin_records_by_puzzle_hash.go +++ b/internal/cmd/coinset/get_coin_records_by_puzzle_hash.go @@ -14,8 +14,8 @@ var ( func init() { getCoinRecordsByPuzzleHashCmd.Flags().BoolVarP(&crByPuzzleHashIncludeSpentCoins, "include-spent-coins", "s", false, "Include spent coins") - getCoinRecordsByPuzzleHashCmd.Flags().IntVarP(&crByPuzzleHashStart, "start", "", -1, "Start height") - getCoinRecordsByPuzzleHashCmd.Flags().IntVarP(&crByPuzzleHashEnd, "end", "", -1, "End height") + getCoinRecordsByPuzzleHashCmd.Flags().IntVarP(&crByPuzzleHashStart, "start-height", "", -1, "Start height") + getCoinRecordsByPuzzleHashCmd.Flags().IntVarP(&crByPuzzleHashEnd, "end-height", "", -1, "End height") rootCmd.AddCommand(getCoinRecordsByPuzzleHashCmd) } diff --git a/internal/cmd/coinset/get_coin_records_by_puzzle_hashes.go b/internal/cmd/coinset/get_coin_records_by_puzzle_hashes.go index 913f783..d8e55fe 100644 --- a/internal/cmd/coinset/get_coin_records_by_puzzle_hashes.go +++ b/internal/cmd/coinset/get_coin_records_by_puzzle_hashes.go @@ -14,8 +14,8 @@ var ( func init() { getCoinRecordsByPuzzleHashesCmd.Flags().BoolVarP(&crByPuzzleHashesIncludeSpentCoins, "include-spent-coins", "s", false, "Include spent coins") - getCoinRecordsByPuzzleHashesCmd.Flags().IntVarP(&crByPuzzleHashesStart, "start", "", -1, "Start height") - getCoinRecordsByPuzzleHashesCmd.Flags().IntVarP(&crByPuzzleHashesEnd, "end", "", -1, "End height") + getCoinRecordsByPuzzleHashesCmd.Flags().IntVarP(&crByPuzzleHashesStart, "start-height", "", -1, "Start height") + getCoinRecordsByPuzzleHashesCmd.Flags().IntVarP(&crByPuzzleHashesEnd, "end-height", "", -1, "End height") rootCmd.AddCommand(getCoinRecordsByPuzzleHashesCmd) }