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

Program Options: -U --username <user> #48

Closed
cvvergara opened this issue Apr 29, 2015 · 1 comment
Closed

Program Options: -U --username <user> #48

cvvergara opened this issue Apr 29, 2015 · 1 comment

Comments

@cvvergara
Copy link
Member

-user <user>
specifics: required ??? can it have default values like psql???
Component of issue: #43
be consistent with psql options for user

@cvvergara
Copy link
Member Author

@sarthak-0415
To be consistent on how postgresql work use something like this: (default user is the login name)

#include <unistd.h>
        ("username,U",  po::value<std::string>()->default_value(getlogin()),
            "Connect to the database as the user username instead of the default.\n (You must have permission to do so, of course.)")

@cvvergara cvvergara changed the title Program Options: -user <user> Program Options: -U --username <user> Mar 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants