http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/04a00042/geode-core/src/test/resources/com/gemstone/gemfire/management/internal/cli/commands/golden-help-online.properties
----------------------------------------------------------------------
diff --git 
a/geode-core/src/test/resources/com/gemstone/gemfire/management/internal/cli/commands/golden-help-online.properties
 
b/geode-core/src/test/resources/com/gemstone/gemfire/management/internal/cli/commands/golden-help-online.properties
new file mode 100644
index 0000000..57f8f37
--- /dev/null
+++ 
b/geode-core/src/test/resources/com/gemstone/gemfire/management/internal/cli/commands/golden-help-online.properties
@@ -0,0 +1,657 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# This file is generated with a script something like the following. The 
resulting output
+# needs a bit of cleanup at the beginning and end.
+#
+#
+#  #!/usr/bin/env bash
+#
+#  set -e
+#
+#  # Preserve leading whitespace for read loops
+#  IFS=''
+#
+#  $GFSH -e "help" | awk '/^[^ ]/ {print $0}' | sed -e "s/\(.*\) (.*/\1/" | \
+#    while read i; do
+#      PARAM="$(echo $i | sed -Ee 's/[[:space:]]+/-/g').help=\\"
+#      echo $PARAM
+#      $GFSH -e "connect --jmx-manager=localhost[1099]" -e "help connect" | 
head -13 | tail -4 | \
+#        while read j; do
+#          if [ -n "$j" ]; then
+#            echo "$j\\" | sed -E -e ':a' -e 
's/^([[:space:]]*)[[:space:]]/\1\\ /;ta'
+#          fi
+#        done
+#        echo ""
+#    done
+
+alter-disk-store.help=\
+NAME\n\
+\ \ \ \ alter disk-store\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+alter-region.help=\
+NAME\n\
+\ \ \ \ alter region\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+alter-runtime.help=\
+NAME\n\
+\ \ \ \ alter runtime\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+backup-disk-store.help=\
+NAME\n\
+\ \ \ \ backup disk-store\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+change-loglevel.help=\
+NAME\n\
+\ \ \ \ change loglevel\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+clear-defined-indexes.help=\
+NAME\n\
+\ \ \ \ clear defined indexes\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+close-durable-client.help=\
+NAME\n\
+\ \ \ \ close durable-client\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+close-durable-cq.help=\
+NAME\n\
+\ \ \ \ close durable-cq\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+compact-disk-store.help=\
+NAME\n\
+\ \ \ \ compact disk-store\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+compact-offline-disk-store.help=\
+NAME\n\
+\ \ \ \ compact offline-disk-store\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+configure-pdx.help=\
+NAME\n\
+\ \ \ \ configure pdx\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+connect.help=\
+NAME\n\
+\ \ \ \ connect\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+create-async-event-queue.help=\
+NAME\n\
+\ \ \ \ create async-event-queue\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+create-defined-indexes.help=\
+NAME\n\
+\ \ \ \ create defined indexes\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+create-disk-store.help=\
+NAME\n\
+\ \ \ \ create disk-store\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+create-gateway-receiver.help=\
+NAME\n\
+\ \ \ \ create gateway-receiver\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+create-gateway-sender.help=\
+NAME\n\
+\ \ \ \ create gateway-sender\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+create-index.help=\
+NAME\n\
+\ \ \ \ create index\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+create-region.help=\
+NAME\n\
+\ \ \ \ create region\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+debug.help=\
+NAME\n\
+\ \ \ \ debug\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+define-index.help=\
+NAME\n\
+\ \ \ \ define index\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+deploy.help=\
+NAME\n\
+\ \ \ \ deploy\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+describe-client.help=\
+NAME\n\
+\ \ \ \ describe client\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+describe-config.help=\
+NAME\n\
+\ \ \ \ describe config\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+describe-connection.help=\
+NAME\n\
+\ \ \ \ describe connection\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+describe-disk-store.help=\
+NAME\n\
+\ \ \ \ describe disk-store\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+describe-member.help=\
+NAME\n\
+\ \ \ \ describe member\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+describe-offline-disk-store.help=\
+NAME\n\
+\ \ \ \ describe offline-disk-store\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+describe-region.help=\
+NAME\n\
+\ \ \ \ describe region\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+destroy-disk-store.help=\
+NAME\n\
+\ \ \ \ destroy disk-store\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+destroy-function.help=\
+NAME\n\
+\ \ \ \ destroy function\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+destroy-index.help=\
+NAME\n\
+\ \ \ \ destroy index\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+destroy-region.help=\
+NAME\n\
+\ \ \ \ destroy region\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+disconnect.help=\
+NAME\n\
+\ \ \ \ disconnect\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+echo.help=\
+NAME\n\
+\ \ \ \ echo\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+encrypt-password.help=\
+NAME\n\
+\ \ \ \ encrypt password\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+execute-function.help=\
+NAME\n\
+\ \ \ \ execute function\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+exit.help=\
+NAME\n\
+\ \ \ \ exit\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+export-cluster-configuration.help=\
+NAME\n\
+\ \ \ \ export cluster-configuration\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+export-config.help=\
+NAME\n\
+\ \ \ \ export config\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+export-data.help=\
+NAME\n\
+\ \ \ \ export data\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+export-logs.help=\
+NAME\n\
+\ \ \ \ export logs\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+export-offline-disk-store.help=\
+NAME\n\
+\ \ \ \ export offline-disk-store\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+export-stack-traces.help=\
+NAME\n\
+\ \ \ \ export stack-traces\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+gc.help=\
+NAME\n\
+\ \ \ \ gc\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+get.help=\
+NAME\n\
+\ \ \ \ get\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+help.help=\
+NAME\n\
+\ \ \ \ help\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+hint.help=\
+NAME\n\
+\ \ \ \ hint\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+history.help=\
+NAME\n\
+\ \ \ \ history\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+import-cluster-configuration.help=\
+NAME\n\
+\ \ \ \ import cluster-configuration\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+import-data.help=\
+NAME\n\
+\ \ \ \ import data\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+list-async-event-queues.help=\
+NAME\n\
+\ \ \ \ list async-event-queues\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+list-clients.help=\
+NAME\n\
+\ \ \ \ list clients\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+list-deployed.help=\
+NAME\n\
+\ \ \ \ list deployed\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+list-disk-stores.help=\
+NAME\n\
+\ \ \ \ list disk-stores\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+list-durable-cqs.help=\
+NAME\n\
+\ \ \ \ list durable-cqs\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+list-functions.help=\
+NAME\n\
+\ \ \ \ list functions\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+list-gateways.help=\
+NAME\n\
+\ \ \ \ list gateways\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+list-indexes.help=\
+NAME\n\
+\ \ \ \ list indexes\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+list-members.help=\
+NAME\n\
+\ \ \ \ list members\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+list-regions.help=\
+NAME\n\
+\ \ \ \ list regions\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+load-balance-gateway-sender.help=\
+NAME\n\
+\ \ \ \ load-balance gateway-sender\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+locate-entry.help=\
+NAME\n\
+\ \ \ \ locate entry\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+netstat.help=\
+NAME\n\
+\ \ \ \ netstat\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+pause-gateway-sender.help=\
+NAME\n\
+\ \ \ \ pause gateway-sender\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+pdx-rename.help=\
+NAME\n\
+\ \ \ \ pdx rename\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+put.help=\
+NAME\n\
+\ \ \ \ put\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+query.help=\
+NAME\n\
+\ \ \ \ query\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+rebalance.help=\
+NAME\n\
+\ \ \ \ rebalance\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+remove.help=\
+NAME\n\
+\ \ \ \ remove\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+resume-gateway-sender.help=\
+NAME\n\
+\ \ \ \ resume gateway-sender\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+revoke-missing-disk-store.help=\
+NAME\n\
+\ \ \ \ revoke missing-disk-store\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+run.help=\
+NAME\n\
+\ \ \ \ run\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+set-variable.help=\
+NAME\n\
+\ \ \ \ set variable\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+sh.help=\
+NAME\n\
+\ \ \ \ sh\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+show-dead-locks.help=\
+NAME\n\
+\ \ \ \ show dead-locks\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+show-log.help=\
+NAME\n\
+\ \ \ \ show log\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+show-metrics.help=\
+NAME\n\
+\ \ \ \ show metrics\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+show-missing-disk-stores.help=\
+NAME\n\
+\ \ \ \ show missing-disk-stores\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+show-subscription-queue-size.help=\
+NAME\n\
+\ \ \ \ show subscription-queue-size\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+shutdown.help=\
+NAME\n\
+\ \ \ \ shutdown\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+sleep.help=\
+NAME\n\
+\ \ \ \ sleep\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+start-gateway-receiver.help=\
+NAME\n\
+\ \ \ \ start gateway-receiver\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+start-gateway-sender.help=\
+NAME\n\
+\ \ \ \ start gateway-sender\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+start-jconsole.help=\
+NAME\n\
+\ \ \ \ start jconsole\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+start-jvisualvm.help=\
+NAME\n\
+\ \ \ \ start jvisualvm\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+start-locator.help=\
+NAME\n\
+\ \ \ \ start locator\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+start-pulse.help=\
+NAME\n\
+\ \ \ \ start pulse\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+start-server.help=\
+NAME\n\
+\ \ \ \ start server\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+start-vsd.help=\
+NAME\n\
+\ \ \ \ start vsd\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+status-cluster-config-service.help=\
+NAME\n\
+\ \ \ \ status cluster-config-service\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+status-gateway-receiver.help=\
+NAME\n\
+\ \ \ \ status gateway-receiver\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+status-gateway-sender.help=\
+NAME\n\
+\ \ \ \ status gateway-sender\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+status-locator.help=\
+NAME\n\
+\ \ \ \ status locator\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+status-server.help=\
+NAME\n\
+\ \ \ \ status server\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+stop-gateway-receiver.help=\
+NAME\n\
+\ \ \ \ stop gateway-receiver\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+stop-gateway-sender.help=\
+NAME\n\
+\ \ \ \ stop gateway-sender\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+stop-locator.help=\
+NAME\n\
+\ \ \ \ stop locator\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+stop-server.help=\
+NAME\n\
+\ \ \ \ stop server\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+undeploy.help=\
+NAME\n\
+\ \ \ \ undeploy\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+upgrade-offline-disk-store.help=\
+NAME\n\
+\ \ \ \ upgrade offline-disk-store\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+validate-offline-disk-store.help=\
+NAME\n\
+\ \ \ \ validate offline-disk-store\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\
+
+version.help=\
+NAME\n\
+\ \ \ \ version\n\
+IS AVAILABLE\n\
+\ \ \ \ true\n\

Reply via email to