diff options
Diffstat (limited to 'src/parse.rs')
| -rw-r--r-- | src/parse.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse.rs b/src/parse.rs index efe3b33..39ede4b 100644 --- a/src/parse.rs +++ b/src/parse.rs @@ -17,7 +17,7 @@ pub struct Pipes { #[derive(Debug)] pub struct Command { - pub path: Vec<u8>, + pub cmd: Vec<u8>, pub args: Vec<Vec<u8>>, } @@ -119,7 +119,7 @@ impl Parse for Command { Err(e) => Err(e)?, } } - Ok(Self { path, args }) + Ok(Self { cmd: path, args }) } } |
