the flag table is never really empty, since -h and -- are always implcitly there
svn: r1730 original commit: d19819f3055a5b876ca8fa8fdd3cd3fb498e8e1e
This commit is contained in:
parent
36320cca64
commit
1398263012
|
@ -337,10 +337,7 @@
|
|||
(list #f (list "--help" "-h")
|
||||
(lambda (f)
|
||||
(let* ([sp (open-output-string)])
|
||||
(fprintf sp "~a~a" program
|
||||
(if (null? table)
|
||||
""
|
||||
" [ <flag> ... ]"))
|
||||
(fprintf sp "~a [ <flag> ... ]" program)
|
||||
(print-args sp finish-help finish)
|
||||
(fprintf sp "~n where <flag> is one of~n")
|
||||
(for-each
|
||||
|
|
Loading…
Reference in New Issue
Block a user