pub fn dh_invoke_drop_argument(line: &str, argument: &str) -> StringExpand description
Drop a particular argument from a dh invocation.
§Arguments
line- The command line to modifyargument- The argument to remove
§Returns
The modified line with the argument removed
§Examples
use debian_analyzer::rules::dh_invoke_drop_argument;
assert_eq!(
dh_invoke_drop_argument("dh $@ --foo --bar", "--foo"),
"dh $@ --bar"
);