summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2019-04-25 09:46:03 +0200
committerMatthias Beyer <matthias.beyer@atos.net>2019-04-25 09:46:03 +0200
commit23571d048e9f05b2bdef9e80bb5d8ef1673ca7d8 (patch)
tree85674f63e90320a0df703532bef41b5f6b90d206
parente4134272791fbaa42c8bd3e99e7653d2b1c1d38d (diff)
Add doc: fn new_frontend()
-rw-r--r--src/frontend/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frontend/mod.rs b/src/frontend/mod.rs
index 93d2a09..3bb912c 100644
--- a/src/frontend/mod.rs
+++ b/src/frontend/mod.rs
@@ -21,6 +21,7 @@ pub mod list;
pub mod json;
pub mod table;
+/// Helper function for building a new Frontend object based on the commandline parameters
pub fn new_frontend(app: &ArgMatches, _config: &Configuration) -> Result<Box<Frontend>> {
match app.value_of("output") {
None | Some("lines") => {