summaryrefslogtreecommitdiffstats
path: root/vespaclient
diff options
context:
space:
mode:
authorKristian Aune <kristian@ymail.com>2019-10-15 15:24:02 +0200
committerKristian Aune <kristian@ymail.com>2019-10-15 15:24:02 +0200
commitc9f925339226d7b1d11b9a3890bd38ec292b8c47 (patch)
treeaf3738f8206ba129517838bcefbb8fdf40e57684 /vespaclient
parentc51b015a8dd8f9fc8f6c6f65c4ceab4090831df3 (diff)
less dangerous. better text for vespa-set-node-state
Diffstat (limited to 'vespaclient')
-rw-r--r--vespaclient/src/perl/lib/Yahoo/Vespa/ContentNodeSelection.pm14
-rw-r--r--vespaclient/src/perl/test/Yahoo/Vespa/Bin/SetNodeStateTest.pl12
2 files changed, 13 insertions, 13 deletions
diff --git a/vespaclient/src/perl/lib/Yahoo/Vespa/ContentNodeSelection.pm b/vespaclient/src/perl/lib/Yahoo/Vespa/ContentNodeSelection.pm
index d23471c8910..13d8d8ea5f9 100644
--- a/vespaclient/src/perl/lib/Yahoo/Vespa/ContentNodeSelection.pm
+++ b/vespaclient/src/perl/lib/Yahoo/Vespa/ContentNodeSelection.pm
@@ -51,25 +51,25 @@ sub registerCommandLineArguments { # (Flags)
setStringOption(
['c', 'cluster'],
\$CLUSTER,
- 'Cluster name of cluster to query. '
+ 'Cluster name. '
. 'If unspecified, and vespa is installed on current node, '
. 'information will be attempted auto-extracted');
setFlagOption(
['f', 'force'],
\$FORCE,
- 'Force the execution of a dangerous command.');
+ 'Force execution');
if (($flags & CLUSTER_ONLY_LIMITATION) == 0) {
setStringOption(
['t', 'type'],
\$NODE_TYPE,
- 'Node type to query. This can either be \'storage\' or '
- . '\'distributor\'. If not specified, the operation will show '
- . 'state for all types.');
+ 'Node type - can either be \'storage\' or '
+ . '\'distributor\'. If not specified, the operation will use '
+ . 'state for both types.');
setIntegerOption(
['i', 'index'],
\$INDEX,
- 'The node index to show state for. If not specified, all nodes '
- . 'found running on this host will be shown.');
+ 'Node index. If not specified, all nodes '
+ . 'found running on this host will be used.');
}
}
sub visit { # (Callback)
diff --git a/vespaclient/src/perl/test/Yahoo/Vespa/Bin/SetNodeStateTest.pl b/vespaclient/src/perl/test/Yahoo/Vespa/Bin/SetNodeStateTest.pl
index b78dc66a311..97e335e1313 100644
--- a/vespaclient/src/perl/test/Yahoo/Vespa/Bin/SetNodeStateTest.pl
+++ b/vespaclient/src/perl/test/Yahoo/Vespa/Bin/SetNodeStateTest.pl
@@ -70,15 +70,15 @@ Options related to operation visibility:
the cluster before returning.
Node selection options. By default, nodes running locally will be selected:
- -c --cluster : Cluster name of cluster to query. If unspecified,
+ -c --cluster : Cluster name. If unspecified,
and vespa is installed on current node, information
will be attempted auto-extracted
- -f --force : Force the execution of a dangerous command.
- -t --type : Node type to query. This can either be 'storage' or
+ -f --force : Force execution
+ -t --type : Node type - can either be 'storage' or
'distributor'. If not specified, the operation will
- show state for all types.
- -i --index : The node index to show state for. If not specified,
- all nodes found running on this host will be shown.
+ use state for both types.
+ -i --index : Node index. If not specified,
+ all nodes found running on this host will be used.
Config retrieval options:
--config-server : Host name of config server to query