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 interface similar to 2to3 #2

Closed
ilevkivskyi opened this issue Sep 9, 2016 · 1 comment
Closed

Make interface similar to 2to3 #2

ilevkivskyi opened this issue Sep 9, 2016 · 1 comment

Comments

@ilevkivskyi
Copy link
Owner

Here is what 2to3 does:

  • By default it spits out a universal diff indicating what it would
    change to stdout, but does not overwrite any files.
  • Pass -w to make it overwrite the file. It also keeps a backup,
    unless you pass -n.
  • Pass -o <dir> to write files to a different directory.
  • Pass --no-diffs to suppress writing diffs to stdout.
@ilevkivskyi
Copy link
Owner Author

It looks like current command line works fine, so this is not needed.

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