Skip to content

Commit 0998ab8

Browse files
iriark01bridadan
andauthored
Clarify extra positional args in mbed import
Co-Authored-By: bridadan <[email protected]>
1 parent ce58773 commit 0998ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tools/CLI/cli-create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ $ mbed import https://github.com/ARMmbed/mbed-os-example-blinky#mbed-os-5.11.0
121121

122122
You can specify which version to import using `#` followed by a commit hash, a branch name, or a tag name. If you do not provide any of these (nor the `#` character), the latest commit on the `master` branch will be imported.
123123

124-
A project is named after the last part of the URL by default. In the above example, a directory named `mbed-os-example-blinky` will be created to contain the imported program. If you wish to change the name of the project while importing, you can do this by supplying it as an extra positional argument:
124+
A project's default name is the last part of the URL (excluding `#` and its value). In the example above, the imported program's project folder is `mbed-os-example-blinky`. To specify a different name, supply it as an extra positional argument in the import command. For example, to name your project `my-blinky`, run:
125125

126126
```
127127
$ mbed import https://github.com/ARMmbed/mbed-os-example-blinky#mbed-os-5.11.0 my-blinky

0 commit comments

Comments
 (0)