Explain that no need to use sudo pio ...

This commit is contained in:
Ivan Kravets
2017-12-19 15:49:44 +02:00
parent 06574e3066
commit d70a90f1d5
2 changed files with 3 additions and 3 deletions

View File

@ -33,8 +33,7 @@ from platformio.util import get_api_result
"-g", "-g",
"--global", "--global",
is_flag=True, is_flag=True,
help="Manage global PlatformIO" help="Manage global PlatformIO library storage")
" library storage `%s`" % join(util.get_home_dir(), "lib"))
@click.option( @click.option(
"-d", "-d",
"--storage-dir", "--storage-dir",

View File

@ -226,7 +226,8 @@ class UpgradeError(PlatformioException):
class HomeDirPermissionsError(PlatformioException): class HomeDirPermissionsError(PlatformioException):
MESSAGE = "You do not have permissions to PlatformIO home directory.\n"\ MESSAGE = "You do not have permissions to PlatformIO home directory.\n"\
"Please remove `{0}` folder manually and repeat operation." "Please remove `{0}` folder manually and avoid using "
"`sudo pio ...`."
class CygwinEnvDetected(PlatformioException): class CygwinEnvDetected(PlatformioException):