]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: fix hacking.rst
authorErnesto Puerta <37327689+epuertat@users.noreply.github.com>
Wed, 27 Mar 2019 18:53:32 +0000 (19:53 +0100)
committerGitHub <noreply@github.com>
Wed, 27 Mar 2019 18:53:32 +0000 (19:53 +0100)
Add missing dash to `-prod` and specify full command.

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
src/pybind/mgr/dashboard/HACKING.rst

index 8c834784096f855121abfda22f0e847ab168d3cb..39c0fa8dc32024b707f96a40db36d8fe0e599828 100644 (file)
@@ -62,8 +62,8 @@ Build the Project
 ~~~~~~~~~~~~~~~~~
 
 Run ``npm run build`` to build the project. The build artifacts will be
-stored in the ``dist/`` directory. Use the ``-prod`` flag for a
-production build. Navigate to ``https://localhost:8443``.
+stored in the ``dist/`` directory. Use the ``--prod`` flag for a
+production build (``npm run build -- --prod``). Navigate to ``https://localhost:8443``.
 
 Code linting and formatting
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~