mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-26 11:09:22 +03:00
Compare commits
3 Commits
cdfb1316f7
...
99cdc1d7ab
Author | SHA1 | Date | |
---|---|---|---|
|
99cdc1d7ab | ||
|
4ffc3e2d13 | ||
|
2f679b4b83 |
@ -47,9 +47,9 @@ are displayed:
|
|||||||
|
|
||||||
cheat.sh queries as well as search queries have many options.
|
cheat.sh queries as well as search queries have many options.
|
||||||
They can be specified as a part of the query string in the URL, after {2?}.
|
They can be specified as a part of the query string in the URL, after {2?}.
|
||||||
Short single letter options can be written all jointly or together.
|
Short single letter options can be joined together. Long options are
|
||||||
Long options are separated with {2&}. For example, to switch
|
separated with {2&}. For example, to switch syntax highlighting off
|
||||||
syntax highlighting off the {2T} switch is used:
|
the {2T} switch is used:
|
||||||
|
|
||||||
{1curl cht.sh/tar}{2?T}
|
{1curl cht.sh/tar}{2?T}
|
||||||
|
|
||||||
@ -70,8 +70,8 @@ To install the client in {2~/bin}:
|
|||||||
{1curl} {2https://cht.sh/:cht.sh} {1> ~/bin/cht.sh}
|
{1curl} {2https://cht.sh/:cht.sh} {1> ~/bin/cht.sh}
|
||||||
{1chmod +x ~/bin/cht.sh}
|
{1chmod +x ~/bin/cht.sh}
|
||||||
|
|
||||||
Queries look the same, but instead of separate words in the query with {1+}
|
Queries look the same, but you can use {1spaces} to separate words in addition to {1+}
|
||||||
like when using curl, you can use {1spaces} which looks more natural:
|
used with curl.
|
||||||
|
|
||||||
{1cht.sh} {2python zip lists}
|
{1cht.sh} {2python zip lists}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user