@@ -29,20 +29,21 @@ secure: function/with [
29
29
pol-obj: get-policies ; a deep copy
30
30
31
31
if policy = 'help [
32
- print "You can set policies for:"
33
- foreach [target pol] pol-obj [print [" " target]]
34
- print "These can be set to:"
35
- foreach [t d] [
36
- allow "no security"
37
- ask "ask user for permission"
38
- throw "throw as an error"
39
- quit "exit the program immediately"
40
- file "a file path"
41
- url "a file path"
42
- other "other value, such as integer"
43
- ] [print [" " t "-" d]]
44
- print "Settings for read, write, and execute are also available."
45
- print "Type: help/doc secure for detailed documentation and examples."
32
+ print " You can set policies for:^[ [1;32m"
33
+ foreach [target pol] pol-obj [print [" " target]]
34
+ print " ^[ [mThese can be set to:"
35
+ print [
36
+ "^[ [1;32m allow ^[ [m - no security^/ "
37
+ ;"^[[1;32m ask "ask user for permission" ;-- yet not implemented!
38
+ "^[ [1;32m throw ^[ [m - throw as an error^/ "
39
+ "^[ [1;32m quit ^[ [m - exit the program immediately^/ "
40
+ "^[ [1;32m file ^[ [m - a file path^/ "
41
+ "^[ [1;32m url ^[ [m - a file path^/ "
42
+ "^[ [1;32m other ^[ [m - other value, such as integer"
43
+ ]
44
+ print " Settings for read, write, and execute are also available."
45
+ print "^/ ^[ [1;35mNOTE: ^[ [1;31mSecure is not fully implemented!^/ "
46
+ ;print "Type: help/doc secure for detailed documentation and examples."
46
47
exit
47
48
]
48
49
0 commit comments