From 4428ad47b5744a2aa606df1afb22e5266d3bda1c Mon Sep 17 00:00:00 2001 From: Alex Balgavy Date: Tue, 16 Feb 2021 15:56:37 +0100 Subject: [PATCH 1/2] Help text: remove outdated info, fix spelling Many more languages are supported than listed in the help file. --- share/help.txt | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/share/help.txt b/share/help.txt index 059a0c9..e2710a4 100644 --- a/share/help.txt +++ b/share/help.txt @@ -1,7 +1,7 @@ Usage: - - $ curl cheat.sh/TOPIC show cheat sheet on the TOPIC - $ curl cheat.sh/TOPIC/SUB show cheat sheet on the SUB topic in TOPIC + + $ curl cheat.sh/TOPIC show cheat sheet on the TOPIC + $ curl cheat.sh/TOPIC/SUB show cheat sheet on the SUB topic in TOPIC $ curl cheat.sh/~KEYWORD search cheat sheets for KEYWORD Options: @@ -19,7 +19,7 @@ Options: Options can be combined together in this way: curl 'cheat.sh/for?qT&style=bw' - + (when using & in shell, don't forget to specify the quotes or escape & with \) Special pages: @@ -54,7 +54,7 @@ Editor integration: Search: - /~snapshot look for "snapshot" in the first level cheat sheets + /~snapshot look for "snapshot" in the first level cheat sheets /~ssh~passphrase several keywords can be combined together using ~ /scala/~closure look for "closure" in scala cheat sheets /~snapshot/r look for "snapshot" in all cheat sheets recursively @@ -71,17 +71,9 @@ List of search options: Programming languages topics: -each programming language topic has the following subptopics: +Each programming language topic has the following subtopics: hello hello world + how to start the program :learn big cheat sheet for learning language from scratch - :list list of topics + :list list of topics :random fetches a random cheat sheet belonging to the topic - -Support programming languages: - - go - scala - rust - python - php From 5291d3a225a09a1e06ee6c663367f874dbfc5ee9 Mon Sep 17 00:00:00 2001 From: Alex Balgavy Date: Tue, 16 Feb 2021 16:19:42 +0100 Subject: [PATCH 2/2] Fix test --- tests/results/7 | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/tests/results/7 b/tests/results/7 index 059a0c9..e2710a4 100644 --- a/tests/results/7 +++ b/tests/results/7 @@ -1,7 +1,7 @@ Usage: - - $ curl cheat.sh/TOPIC show cheat sheet on the TOPIC - $ curl cheat.sh/TOPIC/SUB show cheat sheet on the SUB topic in TOPIC + + $ curl cheat.sh/TOPIC show cheat sheet on the TOPIC + $ curl cheat.sh/TOPIC/SUB show cheat sheet on the SUB topic in TOPIC $ curl cheat.sh/~KEYWORD search cheat sheets for KEYWORD Options: @@ -19,7 +19,7 @@ Options: Options can be combined together in this way: curl 'cheat.sh/for?qT&style=bw' - + (when using & in shell, don't forget to specify the quotes or escape & with \) Special pages: @@ -54,7 +54,7 @@ Editor integration: Search: - /~snapshot look for "snapshot" in the first level cheat sheets + /~snapshot look for "snapshot" in the first level cheat sheets /~ssh~passphrase several keywords can be combined together using ~ /scala/~closure look for "closure" in scala cheat sheets /~snapshot/r look for "snapshot" in all cheat sheets recursively @@ -71,17 +71,9 @@ List of search options: Programming languages topics: -each programming language topic has the following subptopics: +Each programming language topic has the following subtopics: hello hello world + how to start the program :learn big cheat sheet for learning language from scratch - :list list of topics + :list list of topics :random fetches a random cheat sheet belonging to the topic - -Support programming languages: - - go - scala - rust - python - php