Renelvon/OpenBazaar — pull request #3 by lolosk (2014-11-09 13:48:06+00:00)
Title: Sane migrations - Using argparse

I used argparse to parse the arguments:

- The first argument (the path) is now optional, with the default value to set to the one imported from node. In the previous version the path imported was ignored and only the user-provided one was used.

- The second argument must be either 'upgrade' or 'downgrade', else it prints an error message.