pub fn patch_args(&mut self, args: Self) {
        if args.version {
            self.version = true;
        }

        if args.doctor {
            self.doctor = true;
        }

        if args.export_config {
            self.export_config = true;
        }

        if args.current_shell {
            self.current_shell = true;
        }

        if args.long_shell {
            self.long_shell = true;
        }

        if args.long_uptime {
            self.long_uptime = true;
        }

        if args.list_themes {
            self.list_themes = true;
        }

        if args.long_kernel {
            self.long_shell = true;
        }

        if args.ascii_artists {
            self.ascii_artists = true;
        }

        if args.config.is_some() {
            self.config = args.config;
        }

        if args.theme.is_some() {
            self.theme = args.theme;
        }

        if args.show.is_some() {
            self.show = args.show;
        }

        if args.interface.is_some() {
            self.interface = args.interface;
        }
    }
/// Patches `opt` struct with the values provided in the command-line
Patches `opt` struct with the values provided in the command-line
Patches ` opt ` struct with the values provided in the command - line
pub fn patch_args(&mut self, args: Self) {
        if args.version {
            self.version = true;
        }
        if args.doctor {
            self.doctor = true;
        }
        if args.export_config {
            self.export_config = true;
        }
        if args.current_shell {
            self.current_shell = true;
        }
        if args.long_shell {
            self.long_shell = true;
        }
        if args.long_uptime {
            self.long_uptime = true;
        }
        if args.list_themes {
            self.list_themes = true;
        }
        if args.long_kernel {
            self.long_shell = true;
        }
        if args.ascii_artists {
            self.ascii_artists = true;
        }
        if args.config.is_some() {
            self.config = args.config;
        }
        if args.theme.is_some() {
            self.theme = args.theme;
        }
        if args.show.is_some() {
            self.show = args.show;
        }
        if args.interface.is_some() {
            self.interface = args.interface;
        }
    }
pub fn patch_args ( & mut self , args : Self ) { if args . version { self . version = true ; } if args . doctor { self . doctor = true ; } if args . export_config { self . export_config = true ; } if args . current_shell { self . current_shell = true ; } if args . long_shell { self . long_shell = true ; } if args . long_uptime { self . long_uptime = true ; } if args . list_themes { self . list_themes = true ; } if args . long_kernel { self . long_shell = true ; } if args . ascii_artists { self . ascii_artists = true ; } if args . config . is_some ( ) { self . config = args . config ; } if args . theme . is_some ( ) { self . theme = args . theme ; } if args . show . is_some ( ) { self . show = args . show ; } if args . interface . is_some ( ) { self . interface = args . interface ; } }
Patches `opt` struct with the values provided in the command-line
Patches ` opt ` struct with the values provided in the command - line
&mut self
args
Self