mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2026-02-09 12:10:11 +00:00
remove unused function
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user