diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-28 12:59:53 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-28 12:59:53 -0700 |
| commit | ef8c21290e749bd33deef0fefb249a00b99e8212 (patch) | |
| tree | 1e0ab946de2ba1b400de8482b4a6eff147395b31 /toolsrc/src/commands_remove.cpp | |
| parent | 169215ec1c046927934f77dc926c5062784c7bf4 (diff) | |
| download | vcpkg-ef8c21290e749bd33deef0fefb249a00b99e8212.tar.gz vcpkg-ef8c21290e749bd33deef0fefb249a00b99e8212.zip | |
Remove stray temp code
Diffstat (limited to 'toolsrc/src/commands_remove.cpp')
| -rw-r--r-- | toolsrc/src/commands_remove.cpp | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp index 6a8d4af1e..3675f74ea 100644 --- a/toolsrc/src/commands_remove.cpp +++ b/toolsrc/src/commands_remove.cpp @@ -120,28 +120,7 @@ namespace vcpkg::Commands::Remove void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_triplet) { - enum SwitchType - { - SINGLE, - SINGLE_WITH_NO, - VALUE, - }; - - struct Option - { - CStringView name; - SwitchType type; - }; - - static constexpr Option options_table[] = { - Option{"--purge", SINGLE_WITH_NO}, - Option{"--recurse", SINGLE_WITH_NO}, - Option{"--dry-run", SINGLE_WITH_NO}, - Option{"--outdated", SINGLE}, - Option{"--logfile", VALUE}, - }; - - static constexpr CStringView OPTION_PURGE = "--purge"; + static const std::string OPTION_PURGE = "--purge"; static const std::string OPTION_NO_PURGE = "--no-purge"; static const std::string OPTION_RECURSE = "--recurse"; static const std::string OPTION_DRY_RUN = "--dry-run"; |
