Skip to content

Don't ignore --max-size when outputting to stdout #21

@makew0rld

Description

@makew0rld

Why did I even do this? From the README CLI help:

  -m, --max-size string        Set the file size limit. Any download that exceeds this size will
                               cause an Info output and be deleted.
                               Leaving it blank or setting to zero bytes will result in no limit.
                               This flag is ignored when outputting to stdout.
                               Format: <num> <optional-byte-size>
                               Examples: 423, 3.2KiB, '2.5 MB', '22 MiB', '10gib', 3M

The Info should be outputted to stderr, and gemget should exit with a non-zero exit code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions