Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
makew0rld opened this issue Apr 25, 2021 · 0 comments
Open

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

makew0rld opened this issue Apr 25, 2021 · 0 comments

Comments

@makew0rld
Copy link
Owner

makew0rld commented Apr 25, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant