Skip to content

Commit 9b724df

Browse files
committed
FEAT: adding some colors to list of help commands
1 parent 9eb7dd0 commit 9b724df

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

src/mezz/mezz-help.r

+30-30
Original file line numberDiff line numberDiff line change
@@ -96,54 +96,54 @@ dump-obj: function [
9696
][
9797
if unset? get/any 'word [
9898
print trim/auto {
99-
Use HELP or ? to see built-in info:
100-
99+
Use ^[[1;32;49mHELP^[[0m or ^[[1;32;49m?^[[0m to see built-in info:
100+
^[[1;32;49m
101101
help insert
102102
? insert
103-
103+
^[[0m
104104
To search within the system, use quotes:
105-
105+
^[[1;32;49m
106106
? "insert"
107-
107+
^[[0m
108108
To browse online web documents:
109-
109+
^[[1;32;49m
110110
help/doc insert
111-
111+
^[[0m
112112
To view words and values of a context or object:
113113
114-
? lib - the runtime library
115-
? self - your user context
116-
? system - the system object
117-
? system/options - special settings
114+
^[[1;32;49m? lib^[[0m - the runtime library
115+
^[[1;32;49m? self^[[0m - your user context
116+
^[[1;32;49m? system^[[0m - the system object
117+
^[[1;32;49m? system/options^[[0m - special settings
118118
119119
To see all words of a specific datatype:
120-
120+
^[[1;32;49m
121121
? native!
122122
? function!
123123
? datatype!
124-
124+
^[[0m
125125
Other debug functions:
126126
127-
docs - open browser to web documentation
128-
?? - display a variable and its value
129-
probe - print a value (molded)
130-
source func - show source code of func
131-
trace - trace evaluation steps
132-
what - show a list of known functions
133-
why? - explain more about last error (via web)
127+
^[[1;32;49mdocs^[[0m - open browser to web documentation
128+
^[[1;32;49m??^[[0m - display a variable and its value
129+
^[[1;32;49mprobe^[[0m - print a value (molded)
130+
^[[1;32;49msource func^[[0m - show source code of func
131+
^[[1;32;49mtrace^[[0m - trace evaluation steps
132+
^[[1;32;49mwhat^[[0m - show a list of known functions
133+
^[[1;32;49mwhy?^[[0m - explain more about last error (via web)
134134
135135
Other information:
136136
137-
chat - open DevBase developer forum/BBS
138-
docs - open DocBase document wiki website
139-
bugs - open CureCore bug database website
140-
demo - run demo launcher (from rebol.com)
141-
about - see general product info
142-
upgrade - check for newer versions
143-
changes - show changes for recent version
144-
install - install (when applicable)
145-
license - show user license
146-
usage - program cmd line options
137+
^[[1;32;49mchat^[[0m - open DevBase developer forum/BBS
138+
^[[1;32;49mdocs^[[0m - open DocBase document wiki website
139+
^[[1;32;49mbugs^[[0m - open CureCore bug database website
140+
^[[1;32;49mdemo^[[0m - run demo launcher (from rebol.com)
141+
^[[1;32;49mabout^[[0m - see general product info
142+
^[[1;32;49mupgrade^[[0m - check for newer versions
143+
^[[1;32;49mchanges^[[0m - show changes for recent version
144+
^[[1;32;49minstall^[[0m - install (when applicable)
145+
^[[1;32;49mlicense^[[0m - show user license
146+
^[[1;32;49musage^[[0m - program cmd line options
147147
}
148148
exit
149149
]

0 commit comments

Comments
 (0)