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

Make call to extractAll() function behave as call to extract() #16

Merged
merged 1 commit into from
Oct 21, 2019

Conversation

ajnelson-nist
Copy link
Contributor

The call to the extractAll function seems to make a semantically
incorrect usage of args.srcFiles[0]. The extract function uses
arg.folder as an output specifier, and args.srcFiles as an input
specifier. extractAll should drop input parameters.

This patch modifies the extractAll call to use args.folder to
specify output. However, this may cause backwards-incompatible changes
with any scripts that use --extract-all, so this should wait for the
next major version (keeping with SemVer called for in Issue 8).
#8

This patch is independent of Pull Request 14.
#14

Signed-off-by: Alex Nelson [email protected]

The call to the `extractAll` function seems to make a semantically
incorrect usage of `args.srcFiles[0]`.  The `extract` function uses
`arg.folder` as an output specifier, and `args.srcFiles` as an input
specifier.  `extractAll` should drop input parameters.

This patch modifies the `extractAll` call to use `args.folder` to
specify output.  However, this may cause backwards-incompatible changes
with any scripts that use `--extract-all`, so this should wait for the
next major version (keeping with SemVer called for in Issue 8).
aff4#8

This patch is independent of Pull Request 14.
aff4#14

Signed-off-by: Alex Nelson <[email protected]>
@blschatz blschatz merged commit 20f2c51 into aff4:master Oct 21, 2019
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 this pull request may close these issues.

2 participants