parse_command_line.hpp File Reference
Include dependency graph for parse_command_line.hpp:

Go to the source code of this file.

Namespaces

 mlpack
 
strip_type.hpp
 
 mlpack::bindings
 
 mlpack::bindings::cli
 

Functions

 PARAM_FLAG ("help", "Default help info.", "h")
 
 PARAM_FLAG ("verbose", "Display informational messages and the full list of " "parameters and timers at the end of execution.", "v")
 
 PARAM_FLAG ("version", "Display the version of mlpack.", "V")
 
 PARAM_STRING_IN ("info", "Print help on a specific option.", "", "")
 
void ParseCommandLine (int argc, char **argv)
 Parse the command line, setting all of the options inside of the CLI object to their appropriate given values. More...

 

Detailed Description

Author
Ryan Curtin
Matthew Amidon

Parse the command line options.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.

Definition in file parse_command_line.hpp.