microsoft / microsoft/knack

spellcheck message is wrong when error exists in an argument value

Open
#156 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/completion type/bug
Dominant language
Python
Stars
358
Forks
101
PR merge metrics
No merged PRs in 30d

Description

azdev linter: 'prams' is not in the 'azdev linter' command group. See 'azdev linter --help'.

The most similar choice to 'prams' is:
        params

In Azure CLI this would say:

azdev linter: 'prams' is not a valid value for '--rule-types'. See 'azdev linter --help'.

The most similar choice to 'prams' is:
        params

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by reproducing the shown azdev linter message and compare it with Azure CLI's handling of an invalid --rule-types value; trace the relevant command and error-handling entry points. Done means the message identifies --rule-types while retaining the suggested choice 'params'.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.