Skip to main content

has_pdsh_compat_flag

Function has_pdsh_compat_flag 

Source
pub fn has_pdsh_compat_flag(args: &[String]) -> bool
Expand description

Checks if pdsh compatibility mode should be enabled based on arguments.

This function checks for the --pdsh-compat flag in the provided arguments. Unlike is_pdsh_compat_mode(), this checks explicit CLI flag rather than environment or binary name.

§Arguments

  • args - Command line arguments to check

§Returns

true if --pdsh-compat flag is present in the arguments