Skip to content

Commit be08bce

Browse files
authored
Merge pull request #1968 from dbcli/RW/prefer-forward-slash-in-tips
Prefer forward-slash `/command` forms in TIPS
2 parents 9347a46 + 69175b2 commit be08bce

2 files changed

Lines changed: 33 additions & 32 deletions

File tree

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Bug Fixes
3030
Documentation
3131
---------
3232
* Show section when recommending `default_character_set` setting.
33+
* Prefer forward-slash /command forms in TIPS.
3334

3435

3536
Internal

mycli/TIPS

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -44,75 +44,75 @@ the --login-path option lets you work with login-path files!
4444
### commands
4545
###
4646

47-
interact with an LLM using the \llm command!
47+
interact with an LLM using the /llm command!
4848

49-
copy a query to the clipboard using \clip at the end of the query!
49+
copy the previous query to the clipboard with /clip!
5050

51-
\dt lists tables; \dt <table> describes <table>!
51+
/dt lists tables; /dt <table> describes <table>!
5252

5353
edit a query in an external editor using <query>\edit!
5454

55-
edit a query in an external editor using \edit <filename>!
55+
edit a query in an external editor using /edit <filename>!
5656

57-
\f lists favorite queries; \f <name> executes a favorite!
57+
/f lists favorite queries; /f <name> executes a favorite!
5858

59-
\fs <name> <query> saves a favorite query!
59+
/fs <name> <query> saves a favorite query!
6060

61-
\fd <name> deletes a saved favorite query!
61+
/fd <name> deletes a saved favorite query!
6262

63-
\l lists databases!
63+
/l lists databases!
6464

65-
\once <filename> appends the next result to <filename>!
65+
/once <filename> appends the next result to <filename>!
6666

67-
\| <command> sends the next result to a subprocess!
67+
/| <command> sends the next result to a subprocess!
6868

69-
\t toggles timing of commands!
69+
/t toggles timing of commands!
7070

71-
\r or "connect" reconnects to the server!
71+
/r or /connect reconnects to the server!
7272

73-
\delimiter changes the SQL delimiter!
73+
/delimiter changes the SQL delimiter!
7474

75-
\q, "quit", or "exit" exits from the prompt!
75+
/q, /quit, or /exit exits from the prompt!
7676

77-
\? or "help" for help!
77+
/? or /help for help!
7878

79-
"help <keyword>" for help on SQL keywords!
79+
/help <keyword> for help on SQL keywords!
8080

81-
\n or "nopager" to disable the pager!
81+
/n or /nopager to disable the pager!
8282

83-
use "tee"/"notee" to write/stop-writing results to a output file!
83+
use /tee or /notee to write/stop-writing results to a output file!
8484

85-
\W or "warnings" enables automatic warnings display!
85+
/W or /warnings enables automatic warnings display!
8686

87-
\w or "nowarnings" disables automatic warnings display!
87+
/w or /nowarnings disables automatic warnings display!
8888

89-
\P or "pager" sets the pager. Try "pager less"!
89+
/P or /pager sets the pager. Try "/pager less"!
9090

91-
\R or "prompt" changes the prompt format!
91+
/R or /prompt changes the prompt format!
9292

93-
\Tr or "redirectformat" changes the table format for redirects!
93+
/Tr or /redirectformat changes the table format for redirects!
9494

95-
\# or "rehash" refreshes autocompletions!
95+
/# or /rehash refreshes autocompletions!
9696

97-
\. or "source" executes queries from a file!
97+
/. or /source executes queries from a file!
9898

99-
\s or "status" requests status information from the server!
99+
/s or /status requests status information from the server!
100100

101-
use "system <command>" to execute a shell command!
101+
use "/system <command>" to execute a shell command!
102102

103-
\T or "tableformat" changes the interactive table format!
103+
/T or /tableformat changes the interactive table format!
104104

105-
\u or "use" changes to a new database!
105+
/u or /use changes to a new database!
106106

107-
the "watch" command executes a query every N seconds!
107+
the /watch command executes a query every N seconds!
108108

109-
use \bug to file a bug on GitHub!
109+
use /bug to file a bug on GitHub!
110110

111111
###
112112
### environment variables
113113
###
114114

115-
run "export VISUAL='code --wait'" in your shell to \edit queries using VS Code!
115+
run "export VISUAL='code --wait'" in your shell to edit queries using VS Code!
116116

117117
set environment variable MYCLI_LLM_OFF to skip loading LLM libraries!
118118

0 commit comments

Comments
 (0)