Make parseopt available on all backends (#17009)
* Make parseopt available on all backends * fix spaces * fix getopt and update prelude * no crazy unnecessary version checks, use doAssert
This commit is contained in:
parent
4326f743d0
commit
fad8439b8d
5 changed files with 165 additions and 144 deletions
|
|
@ -16,8 +16,6 @@
|
|||
## Same as:
|
||||
##
|
||||
## .. code-block:: nim
|
||||
## import os, strutils, times, parseutils, hashes, tables, sets, sequtils
|
||||
## when not defined(js): import parseopt
|
||||
## import os, strutils, times, parseutils, hashes, tables, sets, sequtils, parseopt
|
||||
|
||||
import os, strutils, times, parseutils, hashes, tables, sets, sequtils
|
||||
when not defined(js): import parseopt
|
||||
import os, strutils, times, parseutils, hashes, tables, sets, sequtils, parseopt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue