Changeset 35254d1 in nscp for service/cli_parser.hpp


Ignore:
Timestamp:
01/15/12 23:32:36 (2 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2
Children:
89838be
Parents:
ba63b95
Message:
  • Fixed installer "back" issues
  • Fixed payload truncation for NRPe and NSCA
  • Improved the installer target tagging functions in the python installer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • service/cli_parser.hpp

    rba63b95 r35254d1  
    5151 
    5252    settings.add_options() 
     53      ("settings", po::value<std::wstring>(), "Override (temporarily) settings subsystem to use") 
    5354      ("migrate-to", po::value<std::wstring>(), "Migrate (copy) settings from current store to target store") 
    5455      ("migrate-from", po::value<std::wstring>(), "Migrate (copy) settings from current store to target store") 
     
    246247      if (vm.count("switch")) { 
    247248        client.switch_context(vm["switch"].as<std::wstring>()); 
     249        ret = 0; 
     250      } 
     251      if (vm.count("settings")) { 
     252        client.set_current(vm["settings"].as<std::wstring>()); 
    248253        ret = 0; 
    249254      } 
Note: See TracChangeset for help on using the changeset viewer.