diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/init.lua b/system/init.lua index c3ea94d..93dd488 100644 --- a/system/init.lua +++ b/system/init.lua | |||
@@ -154,7 +154,7 @@ function sys.listconsoleflags(fh) | |||
154 | local out = {} | 154 | local out = {} |
155 | for k,v in pairs(sys) do | 155 | for k,v in pairs(sys) do |
156 | if type(k) == "string" and k:sub(1,4) == flagtype then | 156 | if type(k) == "string" and k:sub(1,4) == flagtype then |
157 | if flags:has(v) then | 157 | if flags:has_all_of(v) then |
158 | out[#out+1] = string.format("%10d [x] %s",v:value(),k) | 158 | out[#out+1] = string.format("%10d [x] %s",v:value(),k) |
159 | else | 159 | else |
160 | out[#out+1] = string.format("%10d [ ] %s",v:value(),k) | 160 | out[#out+1] = string.format("%10d [ ] %s",v:value(),k) |
@@ -191,7 +191,7 @@ function sys.listtermflags(fh) | |||
191 | local out = {} | 191 | local out = {} |
192 | for k,v in pairs(sys) do | 192 | for k,v in pairs(sys) do |
193 | if type(k) == "string" and k:sub(1,2) == prefix then | 193 | if type(k) == "string" and k:sub(1,2) == prefix then |
194 | if flags[flagtype]:has(v) then | 194 | if flags[flagtype]:has_all_of(v) then |
195 | out[#out+1] = string.format("%10d [x] %s",v:value(),k) | 195 | out[#out+1] = string.format("%10d [x] %s",v:value(),k) |
196 | else | 196 | else |
197 | out[#out+1] = string.format("%10d [ ] %s",v:value(),k) | 197 | out[#out+1] = string.format("%10d [ ] %s",v:value(),k) |