Open mateofloreza opened 9 months ago
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3356.
This message was autogenerated
I've logged this upstream in craft-cli
. I'm not sure it's guaranteed to change, but we'll at least discuss it there: https://github.com/canonical/craft-cli/issues/273
Bug Description
I attempted to use the command charmcraft help --all | grep revision to filter the output and specifically retrieve information related to revisions. However, the command did not function as expected. Instead of filtering the output to display only lines containing the term "revision," the entire printout was shown without any filtration.
Further investigation revealed that the issue stems from the output redirection. It appears that the information I intended to filter is being sent to the stderr rather than the stdout, causing the grep command to be ineffective in filtering the output.
To Reproduce
charmcraft help --all | grep revision
Environment
Ubuntu 22.04 LTS Charmcraft 2.5.2
charmcraft.yaml
Relevant log output