Skip to content

[bug] vt file --help is bugged for subcommands #96

@tlansec

Description

@tlansec

When using the --help option for some subcommands the options shown are often duplicated.

Some examples:

C:\Users\TomLancaster\Documents\Tools\vt-cli>vt-cli version
vt-cli 1.0.0
C:\Users\TomLancaster\Documents\Tools\vt-cli>vt-cli file --help
Get information about one or more files.

This command receives one or more hashes (SHA-256, SHA-1 or MD5) and returns
information about the corresponding files. The information for each file appears
in the same order as the hashes are passed to the command.

If the command receives a single hypen (-) the hashes are read from the standard
input, one per line.

Usage:
  vt file [hash]... [flags]
  vt file [command]

Examples:
  vt file 8739c76e681f900923b900c9df0ef75cf421d39cabb54650c4b9ad19b6a76d85
  vt file 76cdb2bad9582d23c1f6f4d868218d6c
  vt file 76cdb2bad9582d23c1f6f4d868218d6c 44d88612fea8a8f36de82e1278abb02f
  cat list_of_hashes | vt file -

Available Commands:
  analyses               Analyses for the file.
  analyses               Analyses for the file.
  analyses               Analyses for the file.
  analyses               Analyses for the file.
  analyses               Analyses for the file.
  analyses               Analyses for the file.

The same thing happens for some but not all other subcommands. Using the Windows x64 binary in command prompt.

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