anchor.diff:      members/2
   ]).
   
  +register_cli() ->
  +    register_all_usage(),
  +    register_all_commands().
  +
   register_all_commands() ->
       lists:foreach(fun(Args) -> apply(riak_cli, register_command, Args) end,
                     [status_register(), partition_count_register(),
  
positive.code: %% than the ringsize - 1 partition id
  id_out1(index, Index, Ring, RingSize) ->
      Owner = riak_core_ring:index_owner(Ring, Index),
      io:format("Partition index: ~p -> id: ~p~n\t(owner: ~p)~n", 
                [Index, hash_to_partition_id(Index, RingSize), Owner]);
  
  id_out1(id, Id, Ring, RingSize) when Id < RingSize ->
      Idx = partition_id_to_hash(Id, RingSize),
      Owner = riak_core_ring:index_owner(Ring, Idx),
      io:format("Partition id: ~p -> index: ~p~n\t(owner: ~p)~n", 
                [Id, partition_id_to_hash(Id, RingSize), Owner]);
  id_out1(id, Id, _Ring, _RingSize) ->
      {error, ["Id ", Id, " is invalid."]}.
  
  
negative.code:     riak_cli:print(Table);
  partition_count([], []) ->
      {ok, Ring} = riak_core_ring_manager:get_my_ring(),
      T = riak_cli_status:text(
           io_lib:format("Cluster-wide partition-count: ~p", 
                         [riak_core_ring:num_partitions(Ring)])),
      riak_cli:print([T]).
  
  %%%
  %% cluster partitions
  