From f2dba177adf000b5bf855e98d16afc762bd9b0e0 Mon Sep 17 00:00:00 2001
From: Valentin Lorentz <vlorentz@softwareheritage.org>
Date: Thu, 8 Apr 2021 19:26:53 +0200
Subject: [PATCH] docs: Ask readers to install swh.model[cli] to fully use
 swh-identify

Otherwise, they will get an error asking them to install Click
(or Dulwich if Click installed and they use -t snapshot)
---
 docs/persistent-identifiers.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/persistent-identifiers.rst b/docs/persistent-identifiers.rst
index bb807843..2f20cf18 100644
--- a/docs/persistent-identifiers.rst
+++ b/docs/persistent-identifiers.rst
@@ -300,7 +300,7 @@ third party.  An implementation of SWHID that allows to do so locally is the
 `swh identify <https://docs.softwareheritage.org/devel/swh-model/cli.html>`_
 tool, available from the `swh.model <https://pypi.org/project/swh.model/>`_
 Python package under the GPL license. This package can be installed via the ``pip``
-package manager with the one liner ``pip3 install swh.model`` on any machine with
+package manager with the one liner ``pip3 install swh.model[cli]`` on any machine with
 Python  (at least version 3.7) and ``pip`` installed (on a Debian or Ubuntu system a simple ``apt install python3 python3-pip``
 will suffice, see `the general instructions <https://packaging.python.org/tutorials/installing-packages/>`_ for other platforms).
 
-- 
GitLab