From 499e5d4142e82c00dc31459ac90f2bbe15b0622c Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Thu, 21 Jan 2016 22:02:23 -0800 Subject: [PATCH] Remove unsupported --working-dir flag --- src/Microsoft.PowerShell.Linux.Host/main.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Microsoft.PowerShell.Linux.Host/main.cs b/src/Microsoft.PowerShell.Linux.Host/main.cs index 35429c21c..ec04e9eab 100644 --- a/src/Microsoft.PowerShell.Linux.Host/main.cs +++ b/src/Microsoft.PowerShell.Linux.Host/main.cs @@ -95,12 +95,6 @@ OPTIONS } ++i; } - // --working-dir (not on PowerShell for Windows, may be removed) - else if (hasNext && arg == "--working-dir") - { - Directory.SetCurrentDirectory(nextArg); - ++i; - } } } // TODO: check for input on stdin