Skip to content

command vp check -h lists the non existing example flag --no-type-check #964

Closed

Description

@toddeTV

Describe the bug

The help output looks like the following:

$> vp check -h
VITE+ - The Unified Toolchain for the Web

Usage: vp check [OPTIONS] [PATHS]...

Run format, lint, and type checks.

Options:
  --fix       Auto-fix format and lint issues
  --no-fmt    Skip format check
  --no-lint   Skip lint check
  -h, --help  Print help

Examples:
  vp check
  vp check --fix
  vp check --no-type-check src/index.ts

Documentation: https://viteplus.dev/guide/check

Under Examples the flag --no-type-check is shown, but it does not exist:

$> vp check --no-type-check app/app.vue 
VITE+ - The Unified Toolchain for the Web

error: Unexpected argument '--no-type-check'

Reproduction

https://github.com/voidzero-dev/vite-plus/

Steps to reproduce

  1. Open terminal.
  2. Verify with vp check -h that the example with flag --no-type-check is listed.
  3. Use vp check on any file or folder with flag --no-type-check, e.g. vp check --no-type-check app/app.vue inside a Nuxt v4 application.

System Info

$> pnpm -v
10.32.1

$> vp env current
VITE+ - The Unified Toolchain for the Web

Environment:
  Version  24.14.0
  Source   lts

Tool Paths:
  node  /home/toddeTV/.vite-plus/js_runtime/node/24.14.0/bin/node
  npm   /home/toddeTV/.vite-plus/js_runtime/node/24.14.0/bin/npm
  npx   /home/toddeTV/.vite-plus/js_runtime/node/24.14.0/bin/npx

$> vp --version
VITE+ - The Unified Toolchain for the Web

vp v0.1.11

Local vite-plus:
  vite-plus  v0.1.11

Tools:
  vite             v8.0.0
  rolldown         v1.0.0-rc.9
  vitest           v4.1.0
  oxfmt            v0.40.0
  oxlint           v1.55.0
  oxlint-tsgolint  v0.16.0
  tsdown           v0.21.2

Used Package Manager

pnpm

Logs

Validations

Activity

  1. added theissue type on Mar 16, 2026
  2. fengmk2 commented on Mar 16, 2026

    @fengmk2
    Member

    Fixed in v0.11.12 #875

    you can upgrade vp by vp upgrade and try again.

  3. toddeTV commented on Mar 16, 2026

    @toddeTV
    Author

    Fixed in v0.11.12 #875

    you can upgrade vp by vp upgrade and try again.

    I can confirm, this was fixed in #875 and does not occur anymore.
    Good job and thanks :)

  4. toddeTV commented on Mar 16, 2026

    @toddeTV
    Author

    Just for logging:

    $> vp env current
    VITE+ - The Unified Toolchain for the Web
    
    Environment:
      Version  24.14.0
      Source   lts
    
    Tool Paths:
      node  /home/unknown/.vite-plus/js_runtime/node/24.14.0/bin/node
      npm   /home/unknown/.vite-plus/js_runtime/node/24.14.0/bin/npm
      npx   /home/unknown/.vite-plus/js_runtime/node/24.14.0/bin/npx
    
    $> vp --version
    VITE+ - The Unified Toolchain for the Web
    
    vp v0.1.12
    
    Local vite-plus:
      vite-plus  v0.1.12
    
    Tools:
      vite             v8.0.0
      rolldown         v1.0.0-rc.9
      vitest           v4.1.0
      oxfmt            v0.40.0
      oxlint           v1.55.0
      oxlint-tsgolint  v0.17.0
      tsdown           v0.21.3
    
    $> vp check -h
    VITE+ - The Unified Toolchain for the Web
    
    Usage: vp check [OPTIONS] [PATHS]...
    
    Run format, lint, and type checks.
    
    Options:
      --fix       Auto-fix format and lint issues
      --no-fmt    Skip format check
      --no-lint   Skip lint check
      -h, --help  Print help
    
    Examples:
      vp check
      vp check --fix
      vp check --no-lint src/index.ts
    
    Documentation: https://viteplus.dev/guide/check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Target date

    None yet

    Start date

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions