From 835c9f9cac68c5c0b74c496a3377741d524e0c83 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 10 Nov 2017 15:36:09 -0500 Subject: [PATCH] added clear cache to menu option 9 --- src/Console/Program.cs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Console/Program.cs b/src/Console/Program.cs index 68173ecb..8e9f3345 100644 --- a/src/Console/Program.cs +++ b/src/Console/Program.cs @@ -62,7 +62,8 @@ namespace Bit.Console Con.WriteLine("6. Sync directory"); Con.WriteLine("7. Control background service"); Con.WriteLine("8. Configure environment"); - Con.WriteLine("9. Exit"); + Con.WriteLine("9. Clear sync cache"); + Con.WriteLine("10. Exit"); Con.WriteLine(); Con.Write("What would you like to do? "); selection = Con.ReadLine(); @@ -112,15 +113,16 @@ namespace Bit.Console await ConfigEnvironmentAsync(); break; case "9": + case "cache": + case "clearcache": + await ClearCacheAsync(); + break; + case "10": case "exit": case "quit": case "q": _exit = true; break; - case "cache": - case "clearcache": - await ClearCacheAsync(); - break; default: Con.WriteLine("Unknown command."); break;