Skip to content

Commit f2116e1

Browse files
committed
Cleanup management command help
1 parent c295d27 commit f2116e1

File tree

2 files changed

+4
-19
lines changed

2 files changed

+4
-19
lines changed

docs/commands.rst

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,13 @@ render_process_graph
1010
Render process graph to file::
1111

1212
usage: manage.py render_process_graph [-h] [-f {svg,pdf,png}] [-d DIRECTORY]
13-
[-c] [--version] [-v {0,1,2,3}]
14-
[--settings SETTINGS]
15-
[--pythonpath PYTHONPATH] [--traceback]
16-
[--no-color]
17-
[model [model ...]]
13+
[-c] [model [model ...]]
1814

1915
Render process graph to file.
2016

2117
positional arguments:
22-
model
18+
model List of models to render in the form
19+
app_label.model_name
2320

2421
optional arguments:
2522
-h, --help show this help message and exit
@@ -29,16 +26,3 @@ Render process graph to file::
2926
Output directory. Default is current working
3027
directory.
3128
-c, --cleanup Remove dot-files after rendering.
32-
--version show program's version number and exit
33-
-v {0,1,2,3}, --verbosity {0,1,2,3}
34-
Verbosity level; 0=minimal output, 1=normal output,
35-
2=verbose output, 3=very verbose output
36-
--settings SETTINGS The Python path to a settings module, e.g.
37-
"myproject.settings.main". If this isn't provided, the
38-
DJANGO_SETTINGS_MODULE environment variable will be
39-
used.
40-
--pythonpath PYTHONPATH
41-
A directory to add to the Python path, e.g.
42-
"/home/djangoprojects/myproject".
43-
--traceback Raise on CommandError exceptions
44-
--no-color Don't colorize the command output.

galahad/management/commands/render_process_graph.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def add_arguments(self, parser):
1313
'model',
1414
nargs='*',
1515
type=str,
16+
help="List of models to render in the form app_label.model_name"
1617
)
1718
parser.add_argument(
1819
'-f', '--format',

0 commit comments

Comments
 (0)