Please add `--output` flag that is same as `-o`

Open Beginner friendly
#4,651 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
c
Domain
cli

Research direction

Locate the existing -o option in zstd's command-line parser and start by reading its definition and nearby option handling. Done means --output is accepted as its alias and the command-line help and output behavior remain consistent with -o; run the relevant CLI checks if present.

Written by the indexing model from the issue text.

Description

feature request

Is your feature request related to a problem? Please describe.
It is extremely annoying when someone types --output every time, just to learn that such flag does not exists. Turns out, the command needs to be edited from --output-o

Describe the solution you'd like
Adding a --output flag, which would be an alias for -o

Describe alternatives you've considered
none

Additional context
I hope there isn't any specific reason for the nonexistence of this flag.

Dominant language
C
Stars
27.9k
Forks
2.6k
Avg merge
1d 3h
Merged PRs (30d)
8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from facebook/zstd

All issues in facebook/zstd

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.