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

Awesome. Small suggestion for system wide usage: #1

Open
trusktr opened this issue Jun 9, 2013 · 0 comments
Open

Awesome. Small suggestion for system wide usage: #1

trusktr opened this issue Jun 9, 2013 · 0 comments

Comments

@trusktr
Copy link

trusktr commented Jun 9, 2013

The argument to the file is the sql file you wish to fix, but the path must be relative to the location of the script.

Instead, allow it to be relative or absolute (start without ot with a /, respectively).

This would allow one to put the script in /usr/bin/ for example, then use it at the command line and pass absolute paths.

Also, if a relative path is passed, make it relative to the command line's pwd, not relative to the script.

Other than that, it worked perfect! THanks!

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