use optparse at bin/machiawase