-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Rename dgraph --dgraph option #3273
Conversation
…raph into javier/remove_dgraph_option
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 12 of 12 files at r1.
Reviewable status: complete! all files reviewed, all discussions resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! all files reviewed, all discussions resolved
@@ -35,7 +35,7 @@ import ( | |||
) | |||
|
|||
var ( | |||
addr = flag.String("addr", "localhost:9080", "dgraph address") | |||
alpha = flag.String("alpha", "localhost:9080", "dgraph alpha address") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alpha
is unused (from varcheck
)
@@ -35,7 +35,7 @@ import ( | |||
) | |||
|
|||
var ( | |||
addr = flag.String("addr", "localhost:9080", "Dgraph alpha address") | |||
alpha = flag.String("alpha", "localhost:9080", "Dgraph alpha address") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alpha
is unused (from varcheck
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 12 of 12 files at r1, 6 of 6 files at r2.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @codexnull)
The flag name changed in #3273.
The flag name changed in #3273.
The flag name changed in #3273.
* Rename --dgraph option to --alpha. * Rename --addr option to --alpha. * Update tests to use renamed options.
The flag name changed in hypermodeinc#3273.
The flag name changed in hypermodeinc#3273.
Having a command line option
--dgraph
that's the same as the program namedgraph
looks ugly. Rename it to--alpha
. For consistency, do it across all subcommands that use it (live, increment, and acl).Change summary:
--dgraph
and--addr
to--alpha
and short option-d
to-a
.--auth_token
short option from-a
to-t
.This change is