             self = try .build(Configuration(pop()), UserToolchain())
         case "--clean":
             self = try .clean(CleanMode(pop()))
-        case "--doctor":
-            self = .doctor
-        case "--show-dependencies", "-D":
-            self = try .showDependencies(ShowDependenciesMode(pop()))
-        case "--fetch":
-            self = .fetch
-        case "--update":
-            self = .update
-        case "--init", "--initialize":
-            self = try .Init(InitMode(pop()))
         case "--help", "--usage", "-h":
             self = .usage
         case "--version":
             self = .version
-        case "--generate-xcodeproj", "-X":
-            self = .generateXcodeproj(pop())
-        case "--dump-package":
-            self = .dumpPackage(pop())
         default:
             return nil
         }

private enum Mode: Argument, Equatable, CustomStringConvertible {
    case build(Configuration, Toolchain)
    case clean(CleanMode)
    case doctor
    case showDependencies(ShowDependenciesMode)
    case fetch
    case update
    case Init(InitMode)
    case usage
    case version
    case generateXcodeproj(String?)
    case dumpPackage(String?)

    init?(argument: String, pop: () -> String?) throws {
        switch argument {

                    print("Swift Package Manager – Swift 3.0")
                #endif
                
            }
        
        } catch {
