aboutsummaryrefslogtreecommitdiffstats
path: root/src/parse.rs
diff options
context:
space:
mode:
authorJonas Maier <>2026-03-05 09:42:23 +0100
committerJonas Maier <>2026-03-05 09:42:23 +0100
commita3432a7a2ffbceea783fdf20231a22ce0ad2302c (patch)
tree7cda43507c19ad774dc212a8fcdada3a0ea0a9ce /src/parse.rs
parent70dd1e194c10904993069c14dbf4642e7a265889 (diff)
downloadpish-a3432a7a2ffbceea783fdf20231a22ce0ad2302c.tar.gz
pipes :)
Diffstat (limited to 'src/parse.rs')
-rw-r--r--src/parse.rs4
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 })
}
}