File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,8 +145,24 @@ Please see `the INSTALL.rst file <INSTALL.rst>`_.
145145Usage
146146=====
147147
148- The tool is not yet documented, but usage is fairly self-explanatory
149- if you run ``git explode -h ``.
148+ Usage is fairly self-explanatory if you run ``git explode -h ``::
149+
150+ usage: git-explode [-h] [--version] [-d] [-p PREFIX] [-c NUM] BASE HEAD
151+
152+ Explode linear sequence of commits into topic branches
153+
154+ positional arguments:
155+ BASE base of sequence to explode
156+ HEAD head of sequence to explode
157+
158+ optional arguments:
159+ -h, --help show this help message and exit
160+ --version show program's version number and exit
161+ -d, --debug Show debugging
162+ -p PREFIX, --prefix PREFIX
163+ prefix for all created topic branches
164+ -c NUM, --context-lines NUM
165+ Number of lines of diff context to use [1]
150166
151167
152168Development / support / feedback
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ def parse_args(args):
1818 :param args: command line parameters as list of strings
1919 :return: command line parameters as :obj:`argparse.Namespace`
2020 """
21+ #####################################################################
22+ # REMINDER!! If you change this, remember to update README.rst too.
23+ #####################################################################
2124 parser = argparse .ArgumentParser (
2225 description = "Explode linear sequence of commits into topic branches" )
2326 parser .add_argument (
You can’t perform that action at this time.
0 commit comments