Skip to content
Snippets Groups Projects
Commit 60c3f7d4 authored by David Douard's avatar David Douard
Browse files

cli: the 'objects' argument is in fact mandatory

parent c3a7e4ee
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ def identify_object(obj_type, follow_symlinks, obj):
help='type of object to identify (default: auto)')
@click.option('--verify', '-v', metavar='PID', type=PidParamType(),
help='reference identifier to be compared with computed one')
@click.argument('objects', nargs=-1,
@click.argument('objects', nargs=-1, required=True,
type=click.Path(exists=True, readable=True,
allow_dash=True, path_type=bytes))
def identify(obj_type, verify, show_filename, follow_symlinks, objects):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment