Actions
Feature #1391
open
MK
Add 'enable-events' as a special argument to lttng-tools
Feature #1391:
Add 'enable-events' as a special argument to lttng-tools
Start date:
09/26/2023
Due date:
% Done:
0%
Estimated time:
Description
I have observed users trying to enable events by running
lttng enable-events -a -u
or
lttng enable-events -a -k
with the logic that they are enabling several events. Then they panic when there is an error message. As this is an understandable issue, maybe it would be worth giving a clearer message: "It looks like you are trying to run 'enable-event'" or something similar.
EB Updated by Erica Bugden about 2 years ago
Thank you for mentioning this! Yes, it makes sense to me to handle CLI "typos" where the intention is easy to guess in a way that points the user towards what they want. This could be with an error message and suggestion (or perhaps with an alias although I think that wouldn't be a popular idea).
KS Updated by Kienan Stewart almost 2 years ago
- Target version set to Wishlist
Actions