Skip to content

vit 2.x: passing negative filters through to task don't work #206

@dustymabe

Description

@dustymabe

If I want to disable/enable viewing certain tags when I run vit I used to be able (vit 1.x) to pass through +tag -tag. In 2.x the argument parsing will give an error for -tag arguements that are not registered arguments for vit (i.e. it won't pass them through to task).

  • vit next +tag
    • works as expected
  • vit next -tag
    • error: vit: error: no such option: -t
    • workaround by explicitly turning off argument parsing: vit oldest -- -tag

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