Skip to content

v missdoc -e 'string' is ignored, v missdoc --exclude 'string' works fine #28114

Description

@MatthiasGottfried

v missdoc -e 'string or v missdoc --exclude 'string' will exclude all files with a path which include ' string' from checking on missing documentations.
While v missdoc --exclude 'main' works fine, is the given string 'main' on v missdoc -e 'main' just ignored:

> v missdoc --exclude 'main'
---
> v missdoc -r -e 'main'
b/main.v:7:0:pub fn inline() 
b/main.v:9:0:pub fn ohne_attribute() 
b/main.v:20:0:pub fn (t Tee) methode() 
a/main.v:7:0:pub fn inline() 
a/main.v:21:0:pub fn (t Tee) methode() 
main.v:7:0:pub fn inline() 
main.v:9:0:pub fn ohne_attribute() 
main.v:20:0:pub fn (t Tee) methode() 

I believe -e should work as --exclude is working....

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions