From 58206660357b7e16a9ae1efcd38b677f6c8632f3 Mon Sep 17 00:00:00 2001 From: jevonearth Date: Fri, 21 Aug 2015 08:38:41 -0700 Subject: [PATCH] Fix minor typo swtich-to -> switch-to & remove commented line. --- bench/cli.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bench/cli.py b/bench/cli.py index 8f0184b6..ed4dead7 100644 --- a/bench/cli.py +++ b/bench/cli.py @@ -215,8 +215,7 @@ def _update(pull=False, patch=False, build=False, bench=False, auto=False, resta print "This update will cause a major version change in Frappe/ERPNext from {0} to {1}.".format(*version_upgrade[1:]) print "This would take significant time to migrate and might break custom apps. Please run `bench update --upgrade` to confirm." print - # print "You can also pin your bench to {0} by running `bench swtich-to-v{0}`".format(version_upgrade[0]) - print "You can stay on the latest stable release by running `bench switch-to-master` or pin your bench to {0} by running `bench swtich-to-v{0}`".format(version_upgrade[1]) + print "You can stay on the latest stable release by running `bench switch-to-master` or pin your bench to {0} by running `bench switch-to-v{0}`".format(version_upgrade[1]) sys.exit(1) if conf.get('release_bench'):