From 7613888417cbb78b5ac0777e4cb0f2112320da7e Mon Sep 17 00:00:00 2001 From: James M <35449344+JMercerGit@users.noreply.github.com> Date: Wed, 6 Mar 2024 12:30:43 +0000 Subject: [PATCH] Fixing some remaining riak-admin relics Fixing some remaining riak-admin relics that should be `riak admin` --- src/riak_kv_console.erl | 2 +- src/riak_kv_stat_bc.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/riak_kv_console.erl b/src/riak_kv_console.erl index e6cb38eea1..ad8ea8222e 100644 --- a/src/riak_kv_console.erl +++ b/src/riak_kv_console.erl @@ -692,7 +692,7 @@ repair_2i(Args) -> error; {error, Reason} -> io:format("Error: ~p\n", [Reason]), - io:format("Usage: riak-admin repair-2i [--speed [1-100]] ...\n", []), + io:format("Usage: riak admin repair-2i [--speed [1-100]] ...\n", []), io:format("Speed defaults to 100 (full speed)\n", []), io:format("If no partitions are given, all partitions in the\n" "node are repaired\n", []), diff --git a/src/riak_kv_stat_bc.erl b/src/riak_kv_stat_bc.erl index 1353fc054b..84c20a16d8 100644 --- a/src/riak_kv_stat_bc.erl +++ b/src/riak_kv_stat_bc.erl @@ -23,7 +23,7 @@ %% @doc riak_kv_stat_bc is a module that maps the new riak_kv_stats metrics %% to the old set of stats. It exists to maintain backwards compatibility for -%% those using the `/stats' endpoint and `riak-admin status'. This module +%% those using the `/stats' endpoint and `riak admin status'. This module %% should be considered soon to be deprecated and temporary. %% %% Legacy stats: