Use correct syntax in help text

This commit is contained in:
Alan Bernstein 2017-05-30 13:02:09 -05:00
parent 4ed670b709
commit f8b4b6a323
2 changed files with 5 additions and 5 deletions

View file

@ -161,10 +161,10 @@ class REPL {
output_string += `<br />
<br />
Just getting started? Try this:<br />
$ curl -XPOST "http://127.0.0.1:10101/index/test" -d '{"options": {"columnLabel": "col"}}' # create index "test"<br />
$ curl -XPOST "http://127.0.0.1:10101/index/test/frame/foo" -d '{"options": {"rowLabel": "row"}}' # create frame "foo"<br />
# Select "test" in the index dropdown above<br />
SetBit(row=0, col=0, frame=foo) # Use PQL to set a bit
:create index test<br />
:use test<br />
:create frame foo<br />
SetBit(rowID=0, columnID=0, frame=foo) # Use PQL to set a bit
`
}
}

View file

@ -56,7 +56,7 @@
<h5>Special commands</h5>
<div class="code">
:create index test [columnLabel=column]<br />
:use index test<br />
:use test<br />
:create frame foo [rowLabel=row]<br />
:delete index test<br />
:delete frame foo