aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/play.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/play.rs')
-rw-r--r--src/cmd/play.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cmd/play.rs b/src/cmd/play.rs
index 7eae765..2e41816 100644
--- a/src/cmd/play.rs
+++ b/src/cmd/play.rs
@@ -24,11 +24,7 @@ impl crate::config::Config for Config {
}
pub fn cmd<'a, 'b>(app: clap::App<'a, 'b>) -> clap::App<'a, 'b> {
- app.about("Play recorded terminal sessions").arg(
- clap::Arg::with_name("filename")
- .long("filename")
- .takes_value(true),
- )
+ crate::config::Ttyrec::cmd(app.about("Play recorded terminal sessions"))
}
pub fn config(config: config::Config) -> Box<dyn crate::config::Config> {