I used the following command to initialise the chaincode after committing it to the hyperledger fabric test network.
peer chaincode invoke -o localhost:7050 --ordererTLSHostnameOverride orderer.example.com --tls $CORE_PEER_TLS_ENABLED --cafile $ORDERER_CA -C testchannel -n property --peerAddresses localhost:7051 --tlsRootCertFiles $CORE_PEER_TLS_ROOTCERT_FILE_ORG1 --peerAddresses localhost:9051 --tlsRootCertFiles $CORE_PEER_TLS_ROOTCERT_FILE_ORG2 --isInit -c `{"Args":[]}`
Then I encountered with the following error,
{Args:[]}: command not found
Error: flag needs an argument: 'c' in -c
How can I rectify this error. Thanks in advance!