Skip to content

Commit 1cf3e6c

Browse files
committed
---
yaml --- r: 80948 b: refs/heads/snap-stage3 c: ad5f619 h: refs/heads/master v: v3
1 parent 16ee098 commit 1cf3e6c

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 4c6bf4872012c010f84dc7fa2cdfe87522533f89
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 806105fea8858b55efbd821a34b86bed76a1fd60
4+
refs/heads/snap-stage3: ad5f619d8ac0ca4c9964a4242925c3af797d31c0
55
refs/heads/try: 70152ff55722878cde684ee6462c14c65f2c4729
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/man/rustpkg.1

Lines changed: 14 additions & 0 deletions
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

branches/snap-stage3/src/librustpkg/usage.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,8 @@ Options:
150150
}
151151

152152
pub fn init() {
153-
io::println("rustpkg init
153+
io::println("rustpkg init name
154154
155-
This will turn the current working directory into a workspace. The first
156-
command you run when starting off a new project.
155+
This makes a new workspace for working on a project named name.
157156
");
158157
}

0 commit comments

Comments
 (0)