remove unused function

This commit is contained in:
crapStone 2021-10-23 23:05:49 +02:00
parent b540284764
commit cf5e9e1ac0
No known key found for this signature in database
GPG key ID: 0E1380C01B1D51B8

View file

@ -1,4 +1,4 @@
use clap::{App, Arg, ArgGroup, ArgMatches}; use clap::{App, Arg, ArgGroup};
pub fn build_cli() -> App<'static, 'static> { pub fn build_cli() -> App<'static, 'static> {
App::new("lamp") App::new("lamp")
@ -78,9 +78,3 @@ log: uses percentage values (0.0 - 1.0) with a logarithmic curve for the actual
), ),
) )
} }
/// Creates a argument parser with [clap](../clap/index.html) and returns a `Box` with the
/// [matches](../clap/struct.ArgMatches.html).
pub fn parse_args<'a>() -> Box<ArgMatches<'a>> {
Box::new(build_cli().get_matches())
}