mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-01-19 08:57:55 +00:00
remove unused function
This commit is contained in:
parent
b540284764
commit
cf5e9e1ac0
1 changed files with 1 additions and 7 deletions
|
@ -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())
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue