Skip to content

Commit 87bfdf1

Browse files
committed
Merge pull request #162 from ndokos/wip-clear-tools
Delete obsolete pbench-unregister-tools.
2 parents 126e2e8 + 134ccfb commit 87bfdf1

File tree

3 files changed

+7
-97
lines changed

3 files changed

+7
-97
lines changed

agent/util-scripts/pbench-bc-wrapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function warning () {
77
echo "***************************************************************************" > /dev/stderr
88
echo "WARNING: the script \"$name\" has been renamed to \"pbench-$name\" " > /dev/stderr
99
echo "Please fix your scripts: this compatibility layer will go" > /dev/stderr
10-
echo "away in release 0.38 (approximately 2015-04-04)." > /dev/stderr
10+
echo "away in release 0.38 (approximately 2016-04-04)." > /dev/stderr
1111
echo "The old name \"$name\" will NOT work after that - you have been warned!" > /dev/stderr
1212
echo "***************************************************************************" > /dev/stderr
1313
echo > /dev/stderr

agent/util-scripts/pbench-clear-tools

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ pbench_bin="`cd ${script_path}/..; /bin/pwd`"
77
# source the base script
88
. "$pbench_bin"/base
99

10-
# This script will remove tools that have
11-
# been registered. If no options are used,
12-
# then all tools from all tool groups are removed
13-
# specifying a tool name and/or group will
14-
# limit the scope of the removal
10+
# This script will remove tools that have been registered. If no
11+
# options are used, then all tools from all tool groups are removed.
12+
# Specifying a tool name and/or group will limit the scope of the
13+
# removal.
1514

1615
# Defaults
1716
name=""
@@ -24,9 +23,9 @@ if [ $? -ne 0 ]; then
2423
printf "\n"
2524
printf "$script_name: you specified an invalid option\n\n"
2625
printf "The following are required:\n\n"
27-
printf -- "\t-g str --group=str, str = the group which tools should be removed from\n"
26+
printf -- "\t-g str --group=str, str = the group from which tools should be removed\n"
2827
printf -- "\t (the default group is 'default')\n"
29-
printf -- "\t-n str --name=str, str = a specific tool to be removed. If no tool is specified, all tools in the group are removed \n"
28+
printf -- "\t-n str --name=str, str = a specific tool to be removed. If no tool is specified, all tools in the group are removed\n"
3029
printf "\n"
3130

3231
exit 1

agent/util-scripts/pbench-unregister-tools

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)