Teach magic-folder join to use argv_to_abspath
authorDavid Stainton <dstainton415@gmail.com>
Mon, 19 Oct 2015 14:02:28 +0000 (16:02 +0200)
committerDavid Stainton <dstainton415@gmail.com>
Mon, 19 Oct 2015 14:02:28 +0000 (16:02 +0200)
commitef39ca17badc9f10e01b5dc8b7f8798db9cbb36f
tree866ce6a01e6742218dfa1a63416c2a560591c2cf
parent3367b40990a68288712c2f0a210f2f0e9d47f5de
Teach magic-folder join to use argv_to_abspath

- also we modify argv_to_abspath to through a usage error
if the name starts with a '-'

- add a test
currently the tests fail
src/allmydata/scripts/magic_folder_cli.py
src/allmydata/test/test_cli_magic_folder.py
src/allmydata/util/encodingutil.py