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

Add check mode #83

Closed
bersace opened this issue Jul 20, 2017 · 0 comments
Closed

Add check mode #83

bersace opened this issue Jul 20, 2017 · 0 comments

Comments

@bersace
Copy link
Member

bersace commented Jul 20, 2017

It's exactly like dry run, but exists with error if something needs to be done. This allow to check whether something changed or if inspect queries are wrong.

$ ldap2pg --check
...
Nothing to do.
$ echo $?
0
$ ldap2pg --check
...
Would revoke DDL from oscar.
$ echo $?
1
$
@bersace bersace mentioned this issue Sep 5, 2017
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