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

Friendlier set/show/describe #33

Closed
macintux opened this issue Dec 18, 2014 · 2 comments
Closed

Friendlier set/show/describe #33

macintux opened this issue Dec 18, 2014 · 2 comments
Assignees

Comments

@macintux
Copy link
Contributor

Current:

$ ./riak-admin set
Config Operations require one or more arguments
$ ./riak-admin set foo
Not a Key/Value argument of format: "foo"=<Value>:

$ ./riak-admin set foo=bar
Conf file attempted to set unknown variable: foo

Suggested:

$ ./riak-admin set
Usage: riak-admin set <variable>=<value> [-n <node>|--all]
$ ./riak-admin set foo
Usage: riak-admin set <variable>=<value> [-n <node>|--all]
$ ./riak-admin set foo=bar
Unknown configuration variable: foo
@macintux
Copy link
Contributor Author

Also strongly suggest doing a 'show' after a set.

Current:

$ ./riak-admin set handoff.outbound=off
$

Preferred:

$ ./riak-admin set handoff.outbound=off
+--------------+----------------+
|     node     |handoff.outbound|
+--------------+----------------+
|dev1@127.0.0.1|      off       |
+--------------+----------------+

@macintux macintux self-assigned this Dec 18, 2014
@andrewjstone
Copy link
Contributor

Punted on show after set for release. Other suggestions added.

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

2 participants