mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-02-23 20:33:57 +00:00
remove unused function
This commit is contained in:
parent
b540284764
commit
cf5e9e1ac0
@ -1,4 +1,4 @@
|
||||
use clap::{App, Arg, ArgGroup, ArgMatches};
|
||||
use clap::{App, Arg, ArgGroup};
|
||||
|
||||
pub fn build_cli() -> App<'static, 'static> {
|
||||
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…
x
Reference in New Issue
Block a user