udoprog / c10t

A minecraft cartography tool
Other
225 stars 50 forks source link

-p doesn't work #206

Closed Sworddragon closed 12 years ago

Sworddragon commented 12 years ago

The option --split works as expected like this example:

/usr/local/bin/c10t --no-log --require-all --split 336 --ttf-path /usr/share/fonts/truetype/msttcorefonts/verdana.ttf -C tmp/working/1324234350.799/swap.bin -M 1 -m 2 -o tmp/working/1324234350.799/%d:%d_%d.png -w /srv/minecraft/world -R 20

But replacing --split with -p gives me an error:

/usr/local/bin/c10t: Unknown getopt error : ) - congrats, you broke it

udoprog commented 12 years ago

Hey, please show the exact set of options which yield that error, also try it yourself. Try to make the case as minimal as possible.

Sworddragon commented 12 years ago

This works:

/usr/local/bin/c10t --split 336 -o /tmp/%d:%d_%d.png -w /srv/minecraft/world

This gives the error message from the first post:

/usr/local/bin/c10t -p 336 -o /tmp/%d:%d_%d.png -w /srv/minecraft/world

uap-universe commented 12 years ago

Confirmed. There is no option 'p' in main_utils.cpp. I will add it soon. Thanks for reporting.