Provide Example Usage in pmm-admin help output when user enters wrong format for custom labels

Description

We should have our CLI tool provide enough information about the issue, if a user is adding a wrong input format, we should be able to tell them with an example what is the right way to add it. 

For example: 

I try to run: 

The output we get is:

But it would be great if move one step more towards ease of use and add another line to this output:

Purpose: Less need to find documentation, less frustration for the user. 

 

 

How to test

None

How to document

None

Smart Checklist

Activity

Show:

Puneet Kala September 9, 2021 at 12:05 PM

It is on Roma to decide, what priorities he wants and if this is needed for the end user. 

Taras Kozub September 9, 2021 at 11:34 AM

 you've assigned this ticket to  intentionally? if yes, then what's the question you have?

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

Yes

Affects versions

Smart Checklist

Created September 2, 2021 at 8:09 AM
Updated March 6, 2024 at 2:14 AM