Add --no-vim flag (#98)

Just like we have the `--no-emacs` flag, it would be nice to have the `--no-vim` flag, to avoid the upgrade of the vim/neovim configuration files and packages.
This commit is contained in:
Adam Papai
2018-12-09 16:58:13 +09:00
committed by Roey Darwish Dror
parent 0500080e40
commit 4c1d26e120
3 changed files with 15 additions and 4 deletions

View File

@@ -70,6 +70,10 @@ pub struct Opt {
#[structopt(long = "no-emacs")]
pub no_emacs: bool,
/// Don't upgrade Vim packages or configuration files
#[structopt(long = "no-vim")]
pub no_vim: bool,
/// Print what would be done
#[structopt(short = "n", long = "dry-run")]
pub dry_run: bool,