diff options
Diffstat (limited to 'mingling_core/src/program.rs')
| -rw-r--r-- | mingling_core/src/program.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mingling_core/src/program.rs b/mingling_core/src/program.rs index d14c366..12dc9cc 100644 --- a/mingling_core/src/program.rs +++ b/mingling_core/src/program.rs @@ -124,6 +124,12 @@ where .unwrap() } + /// Returns a reference to the program's command-line arguments. + #[must_use] + pub fn get_args(&self) -> &[String] { + &self.args + } + /// Get all registered dispatcher names from the program #[must_use] pub fn get_nodes( |
