summaryrefslogtreecommitdiffstats
path: root/cli/objects/images.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/objects/images.py')
-rw-r--r--cli/objects/images.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/cli/objects/images.py b/cli/objects/images.py
index cf42dd4..270dfc3 100644
--- a/cli/objects/images.py
+++ b/cli/objects/images.py
@@ -35,9 +35,10 @@ class OgImage():
help='Image id to be restored')
parser.add_argument('--type',
nargs='?',
- required=True,
- choices=['unicast', 'unicast-direct'],
- help='Image id to be restored')
+ required=False,
+ choices=['unicast', 'unicast-direct', 'tiptorrent'],
+ default='tiptorrent',
+ help='Transfer method. (Default: tiptorrent)')
parser.add_argument('--repo',
nargs='?',
default=urlparse(rest.URL).netloc.split(':')[0],