Skip to content

Commit 7e225f5

Browse files
committed
Mention modification of profile
1 parent f2227dc commit 7e225f5

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

Sources/Swiftly/Init.swift

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,28 @@ struct Init: SwiftlyCommand {
8686
if !skipInstall {
8787
msg += """
8888
89-
Once swiftly is set up, it will install the latest available Swift toolchain.
90-
89+
Once swiftly is set up, it will install the latest available Swift toolchain. This can be
90+
suppressed with the '--skip-install' option.
9191
"""
9292
#if os(Linux)
9393
msg += """
94-
In the process, swiftly will add swift.org GnuPG keys into your keychain to verify
95-
the integrity of the downloads.
94+
In the process, swiftly will add swift.org
95+
GnuPG keys into your keychain to verify the integrity of the downloads.
9696
9797
"""
98+
#else
99+
msg += "\n"
98100
#endif
99101
}
102+
if !noModifyProfile {
103+
msg += """
104+
105+
For your convenience, swiftly will also attempt to modify your shell's profile file to make
106+
installed items available in your environment upon login. This can be suppressed with the
107+
'--no-modify-profile' option.
108+
109+
"""
110+
}
100111

101112
SwiftlyCore.print(msg)
102113

0 commit comments

Comments
 (0)