basho / cuttlefish

never lose your childlike sense of wonder baby cuttlefish, promise me?
Apache License 2.0
205 stars 124 forks source link

'describe' command outputs Erlang terms #134

Closed seancribbs closed 10 years ago

seancribbs commented 10 years ago

Example:

$ bin/riak config describe bitcask.expiry
Documentation for bitcask.expiry
By default, Bitcask keeps all of your data around. If your
data has limited time-value, or if for space reasons you need to
purge data, you can set the `expiry` option. If you needed to
purge data automatically after 1 day, set the value to `1d`.
Default is: `off` which disables automatic expiration

   Datatype     : [{atom,off},{duration,s}]
   Default Value: off
   Set Value    : undefined
   app.config   : bitcask.expiry_secs 

Also, sometimes the default value will be wrapped in quotes if it's a string. We need a better name for "app.config" too.

seancribbs commented 10 years ago

Screwed up the base, reopening.