Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit c2b84b0

Browse files
FrenchBenDavid Chung
authored andcommitted
Removed un-needed path when not building infrakit (#452)
Signed-off-by: French Ben <[email protected]>
1 parent 125558d commit c2b84b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/cli/examples/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ up as a command with child commands, while the file `CreateCluster` will show up
1010

1111

1212
```
13-
~/projects/src/github.com/docker/infrakit$ INFRAKIT_CLI_DIR=$PWD/pkg/cli/examples infrakit -h
13+
~/infrakit$ INFRAKIT_CLI_DIR=$PWD/pkg/cli/examples infrakit -h
1414
infrakit cli
1515
1616
@@ -67,7 +67,7 @@ In this example, the folder `build` has a nested folder `infrakit`, which has a
6767
show up as
6868

6969
```
70-
~/projects/src/github.com/docker/infrakit$ INFRAKIT_CLI_DIR=$PWD/pkg/cli/examples infrakit build infrakit -h
70+
~/infrakit$ INFRAKIT_CLI_DIR=$PWD/pkg/cli/examples infrakit build infrakit -h
7171
Self building infrakit
7272
7373
@@ -147,7 +147,7 @@ Note that there are calls to the `flag` function:
147147
This function will result in a command line flag bound to the command `CreateCluster`:
148148

149149
```
150-
~/projects/src/github.com/docker/infrakit$ INFRAKIT_CLI_DIR=$PWD/pkg/cli/examples infrakit CreateCluster -h
150+
~/infrakit$ INFRAKIT_CLI_DIR=$PWD/pkg/cli/examples infrakit CreateCluster -h
151151
CreateCluster
152152
153153
@@ -197,7 +197,7 @@ It has the form:
197197
For example, running the `CreateCluster command will look like:
198198

199199
```
200-
~/projects/src/github.com/docker/infrakit$ INFRAKIT_CLI_DIR=$PWD/pkg/cli/examples infrakit CreateCluster
200+
~/infrakit$ INFRAKIT_CLI_DIR=$PWD/pkg/cli/examples infrakit CreateCluster
201201
Please enter your user name chungers
202202
Please specify vm instance type: m2-small
203203

0 commit comments

Comments
 (0)