Skip to content

Commit ff0aaaf

Browse files
committed
auto merge of #9338 : steveklabnik/rust/rustpkg_update_manpage, r=catamorphism
I didn't update the manpage when I added the init command. Whoops.
2 parents b7bbc2e + ad5f619 commit ff0aaaf

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

man/rustpkg.1

+14
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ Remove all generated files from the \fIbuild\fR directory in the target's worksp
2727
Builds the specified target, and all its dependencies, and then installs the
2828
build products into the \fIlib\fR and \fIbin\fR directories of their respective
2929
workspaces.
30+
.TP
31+
\fBinit\fR
32+
Initializes the current working directory into a workspace.
3033

3134
.SS "BUILD COMMAND"
3235

@@ -59,6 +62,17 @@ Examples:
5962
$ rustpkg install github.com/mozilla/servo.git#1.2
6063
$ rustpkg install rust-glfw
6164

65+
.SS "INIT COMMAND"
66+
67+
rustpkg init
68+
69+
This will turn the current working directory into a workspace. The first
70+
command you run when starting off a new project.
71+
72+
Example:
73+
74+
$ rustpkg init
75+
6276
.SH "ENVIRONMENT"
6377

6478
.TP

0 commit comments

Comments
 (0)