From 74eabf4c4448bfbcbb1e28c1f08d3f7d7f923cf3 Mon Sep 17 00:00:00 2001 From: Austin Locke Date: Mon, 9 Dec 2024 15:24:30 -0600 Subject: [PATCH] Update dx.py --- src/python/dxpy/scripts/dx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/dxpy/scripts/dx.py b/src/python/dxpy/scripts/dx.py index 0fba64d6e..c35e67041 100644 --- a/src/python/dxpy/scripts/dx.py +++ b/src/python/dxpy/scripts/dx.py @@ -4805,7 +4805,7 @@ def positive_number(value): nargs='+') cp_sources_action.completer = DXPathCompleter() parser_cp.add_argument('destination', help=fill('Folder into which to copy the sources or new pathname (if only one source is provided). Must be in a different project/container than all source paths.', width_adjustment=-15)) -parser_cp.add_argument('--target-file-relocation', choices=["true", "false"], help='Allow symlink target file relocation in external storage while cloning a symlink.', default="false") +parser_cp.add_argument('--target-file-relocation', help='Allow symlink target file relocation in external storage while cloning a symlink.', action='store_true') parser_cp.set_defaults(func=cp) register_parser(parser_cp, categories='fs') @@ -4821,7 +4821,7 @@ def positive_number(value): nargs='+') mv_sources_action.completer = DXPathCompleter() parser_mv.add_argument('destination', help=fill('Folder into which to move the sources or new pathname (if only one source is provided). Must be in the same project/container as all source paths.', width_adjustment=-15)) -parser_mv.add_argument('--target-file-relocation', choices=["true", "false"], help='Allow symlink target file relocation in external storage while moving a symlink.', default="false") +parser_mv.add_argument('--target-file-relocation', help='Allow symlink target file relocation in external storage while moving a symlink.', action='store_true') parser_mv.set_defaults(func=mv) register_parser(parser_mv, categories='fs')