properly deprecate parseopt2 (#10452)

This commit is contained in:
Miran 2019-01-25 13:13:55 +01:00 • committed by Andreas Rumpf
commit 268197add8
4 changed files with 6 additions and 32 deletions

View file

@ -3,7 +3,7 @@ discard """
# bug #5404
import parseopt2
import parseopt
{.emit: """typedef struct {
int key;
@ -12,5 +12,5 @@ import parseopt2
type foo* {.importc: "foo", nodecl.} = object
key* {.importc: "key".}: cint
for kind, key, value in parseopt2.getopt():
for kind, key, value in parseopt.getopt():
discard