Skip to content

Commit

Permalink
refactor: add derives for exec::Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Jul 21, 2020
1 parent 4157e97 commit c906926
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use std::sync::Mutex;
use subprocess::{Exec, Redirection};

/// Different ways in which a command shall be dealt with.
#[derive(Copy, Clone, Debug)]
pub enum Mode {
/// Solely print out the command that should be executed, and stop.
DryRun,
Expand Down

0 comments on commit c906926

Please sign in to comment.