Actions
Feature #1391
openAdd '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.
Updated by Erica Bugden 10 months 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).
Actions