diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-10-20 00:46:33 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-10-20 00:52:52 -0400 |
commit | cead6e8872e7312284031feee81d91102656fc7d (patch) | |
tree | 234a9785bbaaad1be87e6327b9e244c72a8de90a /src/cmd/play.rs | |
parent | fabf5bf86b3f7d63d9a47c12f91b756d67ea7f7c (diff) | |
download | teleterm-cead6e8872e7312284031feee81d91102656fc7d.tar.gz teleterm-cead6e8872e7312284031feee81d91102656fc7d.zip |
also move the flag definitions into the config reader
Diffstat (limited to 'src/cmd/play.rs')
-rw-r--r-- | src/cmd/play.rs | 6 |
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> { |