File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ pub fn install(cfg: &config::Config) -> Result<()> {
7373 let mut listname = runmode. clone ( ) ;
7474 match cfg. version {
7575 Version :: V3 => { }
76- Version :: V4 => listname = format ! ( "{}-v4 " , runmode) ,
76+ Version :: V3Light => listname = format ! ( "{}-v3light " , runmode) ,
7777 }
7878 // we need to list all taglinks
7979 let mut tag = None ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ impl Display for RunMode {
2828#[ derive( Debug ) ]
2929pub enum Version {
3030 V3 ,
31- V4 ,
31+ V3Light ,
3232}
3333
3434fn runmode ( ) -> Result < RunMode > {
@@ -65,7 +65,7 @@ fn version() -> Result<Version> {
6565 Some ( input) => match input {
6666 Some ( input) => match input. as_ref ( ) {
6767 "v3" => Version :: V3 ,
68- "v4 " => Version :: V4 ,
68+ "v3light " => Version :: V3Light ,
6969 m => {
7070 bail ! ( "unknown version: {}" , m) ;
7171 }
You can’t perform that action at this time.
0 commit comments