@@ -177,36 +177,36 @@ slashUsage(PsqlSettings *pset)
177177
178178 /* if you add/remove a line here, change the row test above */
179179 fprintf (fout , " \\? -- help\n" );
180- fprintf (fout , " \\c[onnect] [< dbname> |- [< user> |?]] -- connect to new database (now '%s')\n" , PQdb (pset -> db ));
180+ fprintf (fout , " \\c[onnect] [dbname|- [user|?]] -- connect to new database (now '%s')\n" , PQdb (pset -> db ));
181181 fprintf (fout , " \\copy [binary] <table> [with oids] {from|to} <fname>[using delimiters '<char>']\n" );
182182 fprintf (fout , " \\copyright -- show PostgreSQL copyright\n" );
183183 fprintf (fout , " \\d -- list tables, views, and sequences\n" );
184184 fprintf (fout , " \\d{i|s|t|v|S}-- list only indices/sequences/tables/views/system tables\n" );
185185 fprintf (fout , " \\da -- list aggregates\n" );
186- fprintf (fout , " \\dd [< object>] - list comment for table, type, function, or operator\n" );
186+ fprintf (fout , " \\dd [object] - - list comment for table, type, function, or operator\n" );
187187 fprintf (fout , " \\df -- list functions\n" );
188188 fprintf (fout , " \\do -- list operators\n" );
189189 fprintf (fout , " \\dT -- list data types\n" );
190- fprintf (fout , " \\e [< fname>] -- edit the current query buffer or <fname> with external editor\n" );
190+ fprintf (fout , " \\e [fname] -- edit the current query buffer or <fname> with external editor\n" );
191191 fprintf (fout , " \\echo <text> -- write text to stdout\n" );
192- fprintf (fout , " \\g [< fname>] -- send query to backend (and results in <fname> or |pipe)\n" );
193- fprintf (fout , " \\h [< cmd>] -- help on syntax of sql commands, * for all commands\n" );
192+ fprintf (fout , " \\g [fname] -- send query to backend (and results in <fname> or |pipe)\n" );
193+ fprintf (fout , " \\h [cmd] -- help on syntax of sql commands, * for all commands\n" );
194194 fprintf (fout , " \\i <fname> -- read and execute queries from filename\n" );
195195 fprintf (fout , " \\l -- list all databases\n" );
196196 fprintf (fout , " \\lo_export, \\lo_import, \\lo_list, \\lo_unlink -- large object operations\n" );
197- fprintf (fout , " \\o [< fname>] -- send all query results to <fname>, or |pipe\n" );
197+ fprintf (fout , " \\o [fname] -- send all query results to <fname>, or |pipe\n" );
198198 fprintf (fout , " \\p -- print the content of the current query buffer\n" );
199199 fprintf (fout , " \\pset -- set table output options\n" );
200200 fprintf (fout , " \\q -- quit\n" );
201201 fprintf (fout , " \\qecho <text>-- write text to query output stream (see \\o)\n" );
202202 fprintf (fout , " \\r -- reset (clear) the query buffer\n" );
203- fprintf (fout , " \\s [< fname>] -- print history or save it in <fname>\n" );
204- fprintf (fout , " \\set <var> [< value> ] -- set/unset internal variable\n" );
203+ fprintf (fout , " \\s [fname] -- print history or save it in <fname>\n" );
204+ fprintf (fout , " \\set <var> [value] -- set/unset internal variable\n" );
205205 fprintf (fout , " \\t -- don't show table headers or footers (now %s)\n" , ON (pset -> popt .topt .tuples_only ));
206206 fprintf (fout , " \\x -- toggle expanded output (now %s)\n" , ON (pset -> popt .topt .expanded ));
207207 fprintf (fout , " \\w <fname> -- write current query buffer to a file\n" );
208208 fprintf (fout , " \\z -- list table access permissions\n" );
209- fprintf (fout , " \\! [< cmd>] -- shell escape or command\n" );
209+ fprintf (fout , " \\! [cmd] -- shell escape or command\n" );
210210
211211 if (usePipe )
212212 {
0 commit comments