Skip to main content

remove_pdsh_compat_flag

Function remove_pdsh_compat_flag 

Source
pub fn remove_pdsh_compat_flag(args: &[String]) -> Vec<String>
Expand description

Removes the --pdsh-compat flag from arguments.

When bssh is invoked with --pdsh-compat, we need to remove this flag before parsing with the pdsh CLI parser (which doesn’t know this flag).

§Arguments

  • args - Original command line arguments

§Returns

Arguments with --pdsh-compat flag removed