How do I get out of a continuation line (?) in Gremlin


Rohit Jain <rohit.j...@...>
 

When I make a syntax error or have a command that ends up in two lines I end up with this situation:

gremlin> g.V().hasNot('personid','movieid).count()
......1> 

How do I get out of this?


Robert Dale <rob...@...>
 

:clear

:help


On Tue, Aug 15, 2017 at 19:55 Rohit Jain <rohit.j...@...> wrote:
When I make a syntax error or have a command that ends up in two lines I end up with this situation:

gremlin> g.V().hasNot('personid','movieid).count()
......1> 

How do I get out of this?

--
You received this message because you are subscribed to the Google Groups "JanusGraph users list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgra...@....
For more options, visit https://groups.google.com/d/optout.
--
Robert Dale


Robert Dale <rob...@...>
 

The gremlin console is built on top of groovysh so many of the same commands and usage will apply.  See also gremlin console tutorial - http://tinkerpop.apache.org/docs/current/tutorials/the-gremlin-console/

Robert Dale

On Tue, Aug 15, 2017 at 7:55 PM, Robert Dale <rob...@...> wrote:
:clear

:help


On Tue, Aug 15, 2017 at 19:55 Rohit Jain <rohit.j...@...> wrote:
When I make a syntax error or have a command that ends up in two lines I end up with this situation:

gremlin> g.V().hasNot('personid','movieid).count()
......1> 

How do I get out of this?

--
You received this message because you are subscribed to the Google Groups "JanusGraph users list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Robert Dale


Rohit Jain <rohit.j...@...>
 

You are so quick Robert!! :-)

I actually figured it out since I found that :h worked in that situation and then I saw :c.  But you beat me to my posting that I had found the solution to the problem.

Thanks!!
Rohit 


Amyth Arora <aroras....@...>
 

Another shortcut be :c


On Wednesday, 16 August 2017 05:35:28 UTC+5:30, Rohit Jain wrote:
You are so quick Robert!! :-)

I actually figured it out since I found that :h worked in that situation and then I saw :c.  But you beat me to my posting that I had found the solution to the problem.

Thanks!!
Rohit