summaryrefslogtreecommitdiff
path: root/megapixels/commands/datasets/file_record.py
diff options
context:
space:
mode:
Diffstat (limited to 'megapixels/commands/datasets/file_record.py')
-rw-r--r--megapixels/commands/datasets/file_record.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/megapixels/commands/datasets/file_record.py b/megapixels/commands/datasets/file_record.py
index 355b22f2..d3f790d4 100644
--- a/megapixels/commands/datasets/file_record.py
+++ b/megapixels/commands/datasets/file_record.py
@@ -41,8 +41,8 @@ identity_sources = ['subdir', 'numeric']
@click.option('-f', '--force', 'opt_force', is_flag=True,
help='Force overwrite file')
@click.option('--identity', 'opt_identity', type=click.Choice(identity_sources),
- default='numeric',
- help='Identity source, blank for no identity')
+ required=True,
+ help='Identity source key')
@click.option('--recursive/--no-recursive', 'opt_recursive', is_flag=True, default=False,
help='Use glob recursion (slower)')
@click.pass_context