mpeterv / argparse

Feature-rich command line parser for Lua
MIT License
251 stars 43 forks source link

Assuming print is patched to handle tables nicely #13

Closed deevus closed 6 years ago

deevus commented 6 years ago

What does this mean? I'm not a lua expert and so I have no idea what this means

mpeterv commented 6 years ago

Standard print doesn't print table contents:

> t = {foo = "bar"}
> print(t)
table: 0x25754b0

Tutorial assumes that print is monkey-patched to apply some pretty-printing first. I suppose it could be worded better.