1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-26 11:09:22 +03:00

Compare commits

..

3 Commits

Author SHA1 Message Date
cprice11
99cdc1d7ab
Merge 4ffc3e2d13 into 571377f2f7 2024-06-22 19:07:49 +00:00
Anatoli Babenia
4ffc3e2d13
Minor edit 2024-06-22 22:07:47 +03:00
Anatoli Babenia
2f679b4b83
Minor editts 2024-06-22 22:07:32 +03:00

View File

@ -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}