Skip to content

Commit b60f869

Browse files
committed
wip
1 parent 635b1e0 commit b60f869

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

confutils.nim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ func hasOpts(cmd: CmdInfo): bool =
178178
for opt in cmd.opts:
179179
if opt.isCliSwitch and not opt.isHidden:
180180
return true
181-
false
181+
182+
return false
182183

183184
func hasArgs(cmd: CmdInfo): bool =
184185
for opt in cmd.opts:

0 commit comments

Comments
 (0)