Browse Source

Rename --partsize to --part-size for consistency with other options

master
JustAnotherArchivist 3 weeks ago
parent
commit
5994af0019
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ia-upload-stream

+ 1
- 1
ia-upload-stream View File

@@ -399,7 +399,7 @@ def main():
return o

parser = argparse.ArgumentParser()
parser.add_argument('--partsize', dest = 'partSize', type = size, default = size('100M'), help = 'size of each chunk to buffer in memory and upload (default: 100M = 100 MiB)')
parser.add_argument('--part-size', '--partsize', dest = 'partSize', type = size, default = size('100M'), help = 'size of each chunk to buffer in memory and upload (default: 100M = 100 MiB)')
parser.add_argument('--no-derive', dest = 'queueDerive', action = 'store_false', help = 'disable queueing a derive task')
parser.add_argument('--clobber', dest = 'keepOldVersion', action = 'store_false', help = 'enable clobbering existing files')
parser.add_argument('--ia-config-file', dest = 'iaConfigFile', metavar = 'FILE', help = 'path to the ia CLI config file (default: search the same paths as ia)')


Loading…
Cancel
Save