Project

General

Profile

Actions

Feature #1391

open

Add 'enable-events' as a special argument to lttng-tools

Added by Matthew Khouzam about 1 year ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
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.
Actions #1

Updated by Erica Bugden about 1 year 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 #2

Updated by Kienan Stewart 10 months ago

  • Target version set to Wishlist
Actions

Also available in: Atom PDF