Browse Source

Double backtick-quote cli help

Armin Ronacher 9 years ago
parent
commit
cb37f39853

+ 2 - 2
bin/dump-command-help

@@ -47,11 +47,11 @@ def write_page(out, data):
     body.append('```````')
     body.append('')
     for opt in data['options']:
-        prefix = '- `%s`: ' % opt['opt_string']
+        prefix = '- ``%s``: ' % opt['opt_string']
         for line in click.wrap_text(
                 opt['help'] or '', 74, prefix, '  ').splitlines():
             body.append(line)
-    body.append('- `--help`: print this help page.')
+    body.append('- ``--help``: print this help page.')
 
     if data['subcommands']:
         body.append('')

+ 1 - 1
docs/cli/celery/index.rst

@@ -6,4 +6,4 @@ Start background workers.
 Options
 ```````
 
-- `--help`: print this help page.
+- ``--help``: print this help page.

+ 4 - 4
docs/cli/cleanup/index.rst

@@ -6,7 +6,7 @@ Delete a portion of trailing data based on creation date.
 Options
 ```````
 
-- `--days INTEGER`: Numbers of days to truncate on.
-- `--project INTEGER`: Limit truncation to only entries from project.
-- `--concurrency INTEGER`: The number of concurrent workers to run.
-- `--help`: print this help page.
+- ``--days INTEGER``: Numbers of days to truncate on.
+- ``--project INTEGER``: Limit truncation to only entries from project.
+- ``--concurrency INTEGER``: The number of concurrent workers to run.
+- ``--help``: print this help page.

+ 1 - 1
docs/cli/createuser/index.rst

@@ -6,4 +6,4 @@ Create a new user.
 Options
 ```````
 
-- `--help`: print this help page.
+- ``--help``: print this help page.

+ 1 - 1
docs/cli/devserver/index.rst

@@ -6,4 +6,4 @@ Start a light Web server for development.
 Options
 ```````
 
-- `--help`: print this help page.
+- ``--help``: print this help page.

+ 1 - 1
docs/cli/django/index.rst

@@ -6,4 +6,4 @@ Execute Django subcommands.
 Options
 ```````
 
-- `--help`: print this help page.
+- ``--help``: print this help page.

+ 1 - 1
docs/cli/export/index.rst

@@ -6,4 +6,4 @@ Exports core metadata for the Sentry installation.
 Options
 ```````
 
-- `--help`: print this help page.
+- ``--help``: print this help page.

+ 1 - 1
docs/cli/help/index.rst

@@ -6,4 +6,4 @@ Show this message and exit.
 Options
 ```````
 
-- `--help`: print this help page.
+- ``--help``: print this help page.

+ 1 - 1
docs/cli/import/index.rst

@@ -6,4 +6,4 @@ Imports data from a Sentry export.
 Options
 ```````
 
-- `--help`: print this help page.
+- ``--help``: print this help page.

+ 3 - 3
docs/cli/index.rst.inc

@@ -6,9 +6,9 @@ Sentry is cross-platform crash reporting built with love.
 Options
 ```````
 
-- `--config PATH`: Path to configuration files.
-- `--version`: Show the version and exit.
-- `--help`: print this help page.
+- ``--config PATH``: Path to configuration files.
+- ``--version``: Show the version and exit.
+- ``--help``: print this help page.
 
 Subcommands
 ```````````

Some files were not shown because too many files changed in this diff