ag-cosmos-helper status
should write to stdout, not stderr
#2888
Labels
ag-cosmos-helper status
should write to stdout, not stderr
#2888
Describe the bug
I used
ag-cosmos-helper status
for the first time today. I was surprised that the machine-parseable JSON output is written to stderr, rather than stdout. It's a drag to require a redirect to parse the output.Instead of:
I'd prefer to run:
% ag-cosmos-helper status | jq .SyncInfo
If we can fix this, we could also update the guides at https://github.com/Agoric/agoric-sdk/wiki/Validator-Guide-for-Devnet#syncing-your-node and https://github.com/Agoric/agoric-sdk/wiki/Validator-Guide-for-Incentivized-Testnet#syncing-your-node to remove the
2>&1
bit.The text was updated successfully, but these errors were encountered: