Skip to content

Improve CLI by documenting the expected format of SYMBOL #10

@jhrcek

Description

@jhrcek

Some CLI commands of hiedb expect SYMBOL as an input.
For example

 Usage: hiedb unreachable SYMBOL
  Find all symbols unreachable from the given symbols

But when I try to use it I get

$ hiedb unreachable Main.main
cannot parse value `Main.main'

Usage: hiedb unreachable SYMBOL
  Find all symbols unreachable from the given symbols

Looking at source code it's clear to me that the parsing is based on Read instance of Symbol. But it's totally non-obvious how to format the SYMBOL when querrying from CLI. Could you add an example of the expected format to cli help message that gets printed?

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