[mlpack-svn] [MLPACK] #170: One-letter "shortcuts" for CLI options
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Wed Nov 30 03:28:04 EST 2011
#170: One-letter "shortcuts" for CLI options
---------------------+------------------------------------------------------
Reporter: rcurtin | Owner: mamidon
Type: defect | Status: new
Priority: major | Milestone: MLPACK 1.0
Component: MLPACK | Keywords: cli one-letter shortcut option
Blocking: | Blocked By:
---------------------+------------------------------------------------------
Currently I have to do "--verbose" but I want to be able to just do "-v".
In the code I currently do this (ignoring the module name, which will be
gone soon):
{{{
PARAM_DOUBLE("option", "Does some stuff");
}}}
and I want to do this:
{{{
PARAM_DOUBLE("option", "Does some stuff", 'o');
}}}
so that I can specify --option as -o. I bet boost::program_options has
support for this, so we just need to find out the easiest way to exploit
and wrap that functionality.
--
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/170>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.
More information about the mlpack-svn
mailing list