From f8b4b6a323bfa7daae868d4389532a401ec4f286 Mon Sep 17 00:00:00 2001 From: Alan Bernstein Date: Tue, 30 May 2017 13:02:09 -0500 Subject: [PATCH] Use correct syntax in help text --- webui/assets/main.js | 8 ++++---- webui/index.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/webui/assets/main.js b/webui/assets/main.js index db54a3b1e..7927a3b42 100644 --- a/webui/assets/main.js +++ b/webui/assets/main.js @@ -161,10 +161,10 @@ class REPL { output_string += `

Just getting started? Try this:
- $ curl -XPOST "http://127.0.0.1:10101/index/test" -d '{"options": {"columnLabel": "col"}}' # create index "test"
- $ curl -XPOST "http://127.0.0.1:10101/index/test/frame/foo" -d '{"options": {"rowLabel": "row"}}' # create frame "foo"
- # Select "test" in the index dropdown above
- SetBit(row=0, col=0, frame=foo) # Use PQL to set a bit + :create index test
+ :use test
+ :create frame foo
+ SetBit(rowID=0, columnID=0, frame=foo) # Use PQL to set a bit ` } } diff --git a/webui/index.html b/webui/index.html index 687f8fc93..dc06e310a 100644 --- a/webui/index.html +++ b/webui/index.html @@ -56,7 +56,7 @@
Special commands
:create index test [columnLabel=column]
- :use index test
+ :use test
:create frame foo [rowLabel=row]
:delete index test
:delete frame foo