Skip to content

Commit b81db25

Browse files
committed
[FAB-8510] put back "-m" in byfn tutorial
The "-m" is not needed in latest but could trip up those using older release level fabric-samples. Change-Id: I57f64604971b56a95534db2391c3c8db1e5711da Signed-off-by: Srinivasan Muralidharan <srinivasan.muralidharan99@gmail.com>
1 parent ff15100 commit b81db25

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/source/build_network.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Here's the help text for the ``byfn.sh`` script:
5353
Usage:
5454
byfn.sh up|down|restart|generate [-c <channel name>] [-t <timeout>] [-d <delay>] [-f <docker-compose-file>] [-s <dbtype>]
5555
byfn.sh -h|--help (print this message)
56-
<mode> - one of 'up', 'down', 'restart' or 'generate'
56+
-m <mode> - one of 'up', 'down', 'restart' or 'generate'
5757
- 'up' - bring up the network with docker-compose up
5858
- 'down' - clear the network with docker-compose down
5959
- 'restart' - restart the network
@@ -69,8 +69,8 @@ Here's the help text for the ``byfn.sh`` script:
6969
Typically, one would first generate the required certificates and
7070
genesis block, then bring up the network. e.g.:
7171
72-
byfn.sh generate -c mychannel
73-
byfn.sh up -c mychannel -s couchdb
72+
byfn.sh -m generate -c mychannel
73+
byfn.sh -m up -c mychannel -s couchdb
7474
7575
If you choose not to supply a channel name, then the
7676
script will use a default name of ``mychannel``. The CLI timeout parameter
@@ -85,7 +85,7 @@ Ready to give it a go? Okay then! Execute the following command:
8585
8686
.. code:: bash
8787
88-
./byfn.sh generate
88+
./byfn.sh -m generate
8989
9090
You will see a brief description as to what will occur, along with a yes/no command line
9191
prompt. Respond with a ``y`` or hit the return key to execute the described action.
@@ -147,7 +147,7 @@ Next, you can bring the network up with one of the following commands:
147147
148148
.. code:: bash
149149
150-
./byfn.sh up
150+
./byfn.sh -m up
151151
152152
The above command will compile Golang chaincode images and spin up the corresponding
153153
containers. Go is the default chaincode language, however there is also support
@@ -159,7 +159,7 @@ chaincode, pass the following command instead:
159159
# we use the -l flag to specify the chaincode language
160160
# forgoing the -l flag will default to Golang
161161
162-
./byfn.sh up -l node
162+
./byfn.sh -m up -l node
163163
164164
.. note:: View the `Hyperledger Fabric Shim <https://fabric-shim.github.io/ChaincodeStub.html>`__
165165
documentation for more info on the node.js chaincode shim APIs.
@@ -226,7 +226,7 @@ and four artifacts, and delete the chaincode images from your Docker Registry:
226226

227227
.. code:: bash
228228
229-
./byfn.sh down
229+
./byfn.sh -m down
230230
231231
Once again, you will be prompted to continue, respond with a ``y`` or hit the return key:
232232

0 commit comments

Comments
 (0)