Skip to content

termshot ls -a errors out #399

Description

@rgigger

What am I missing here?

$ termshot ls -a
╭ unknown termshot flag issue with unknown shorthand flag
│ issue with unknown shorthand flag: 'a' in -a
│
│ In order to differentiate between program flags and command flags,
│ use '--' before the command so that all flags before the separator
│ belong to termshot, while all others are used for the command.
│
│ Usage:
│   termshot [termshot flags] [--] command [command flags] [command arguments] [...] [flags]
│
│ Flags:
│   -e, --edit               edit content before creating screenshot
│   -c, --show-cmd           include command in screenshot
│   -C, --columns int        force fixed number of columns in screenshot
│       --no-decoration      do not draw window decorations
│       --no-shadow          do not draw window shadow
│   -s, --clip-canvas        clip canvas to visible image area (no margin)
│   -f, --filename string    filename of the screenshot (default "out.png")
│       --raw-write string   write raw output to file instead of creating a screenshot
│       --raw-read string    read raw input from file instead of executing a command
│   -v, --version            show version
│   -b, --clipboard          copy termshot to clipboard, overrules filename option
│   -h, --help               help for termshot
╵

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