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

The -d/--dir part in README needs update. #148

Closed
c02y opened this issue Nov 2, 2021 · 2 comments · Fixed by #149
Closed

The -d/--dir part in README needs update. #148

c02y opened this issue Nov 2, 2021 · 2 comments · Fixed by #149

Comments

@c02y
Copy link

c02y commented Nov 2, 2021

Since when you are using -d

error: Found argument '-d' which wasn't expected, or isn't valid in this context

        If you tried to supply `-d` as a value rather than a flag, use `-- -d`

USAGE:
    ouch decompress [OPTIONS] <FILES>...

For more information try --help

and

$ ouch decompress --help
ouch-decompress

Decompresses one or more files, optionally into another folder

USAGE:
    ouch decompress [OPTIONS] <FILES>...

ARGS:
    <FILES>...    Files to be decompressed

OPTIONS:
    -h, --help                Print help information
    -o, --dir <OUTPUT_DIR>    Choose to  files in a directory other than the current
@marcospb19
Copy link
Member

What are you referring to? Just the short flag?

@c02y
Copy link
Author

c02y commented Nov 2, 2021

Since you fixed -d in code, I though README should just use -o/--dir.

Since README says:

You can redirect the decompression results to another folder with the -d/--dir flag.

# Decompress 'summer_vacation.zip' inside of new folder 'pictures'
ouch decompress summer_vacation.zip -d pictures

But

ouch decompress --help
ouch-decompress

Decompresses one or more files, optionally into another folder

USAGE:
    ouch decompress [OPTIONS] <FILES>...

ARGS:
    <FILES>...    Files to be decompressed

OPTIONS:
    -h, --help                Print help information
    -o, --dir <OUTPUT_DIR>    Choose to  files in a directory other than the current

There is no -o in README, or maybe delete -o in the code instead.

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

Successfully merging a pull request may close this issue.

2 participants