From 0f121cbac735fb5a43c8106a42f4b38e30fcb269 Mon Sep 17 00:00:00 2001 From: emma Date: Sun, 28 Jul 2024 00:40:16 -0600 Subject: [PATCH] fop(1): more descriptive command arguments variable name --- src/fop.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fop.rs b/src/fop.rs index 0faa827..fc45248 100644 --- a/src/fop.rs +++ b/src/fop.rs @@ -79,7 +79,7 @@ fn main() { let mut fields = buf.split(&d).collect::>(); /* collect arguments for the operator command */ - let opts = argv + let command_args = argv .iter() .clone() .skip(command_arg + 1) /* skip the command name */ @@ -87,7 +87,7 @@ fn main() { /* spawn the command to operate on the field */ let mut spawned = Command::new(operator) - .args(opts) /* spawn with the specified arguments */ + .args(command_args) /* spawn with the specified arguments */ .stdin(Stdio::piped()) .stdout(Stdio::piped()) /* piped stdout to handle output ourselves */ .spawn()