This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/master by this push:
     new b8f6583  TINKERPOP-2098 Improved gremlin-server.sh help output CTR
     new 2fc9724  Merge branch 'tp33'
b8f6583 is described below

commit b8f65835d8c4a50564b3d2c4969287bfd33594ab
Author: Stephen Mallette <sp...@genoprime.com>
AuthorDate: Tue Feb 5 17:29:49 2019 -0500

    TINKERPOP-2098 Improved gremlin-server.sh help output CTR
---
 gremlin-server/src/main/bin/gremlin-server.sh | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/gremlin-server/src/main/bin/gremlin-server.sh 
b/gremlin-server/src/main/bin/gremlin-server.sh
index a09e10c..76afa09 100755
--- a/gremlin-server/src/main/bin/gremlin-server.sh
+++ b/gremlin-server/src/main/bin/gremlin-server.sh
@@ -275,6 +275,20 @@ case "$1" in
       fi
       echo Configuration file not found.
     fi
-    echo "Usage: $0 {start|stop|restart|status|console|install <group> 
<artifact> <version>|<conf file>}"; exit 1;
+    echo "Usage: $0 {start|stop|restart|status|console|install <group> 
<artifact> <version>|<conf file>}"
+    echo
+    echo "    start        Start the server in the background using 
conf/gremlin-server.yaml as the"
+    echo "                 default configuration file"
+    echo "    stop         Stop the server"
+    echo "    restart      Stop and start the server"
+    echo "    status       Check if the server is running"
+    echo "    console      Start the server in the foreground using 
conf/gremlin-server.yaml as the"
+    echo "                 default configuration file"
+    echo "    install      Install dependencies"
+    echo
+    echo "If using a custom YAML configuration file then specify it as the 
only argument for Gremlin"
+    echo "Server to run in the foreground or specify it via the GREMLIN_YAML 
environment variable."
+    echo
+    exit 1
     ;;
 esac

Reply via email to