mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
committed by
Johannes Altmanninger
parent
2d6db3f980
commit
725cf33f1a
@@ -202,10 +202,6 @@ fn parse_cmd_opts(
|
||||
streams: &mut IoStreams,
|
||||
) -> BuiltinResult {
|
||||
let cmd = args[0];
|
||||
|
||||
let mut args_read = Vec::with_capacity(args.len());
|
||||
args_read.extend_from_slice(args);
|
||||
|
||||
let mut w = WGetopter::new(SHORT_OPTIONS, LONG_OPTIONS, args);
|
||||
while let Some(c) = w.next_opt() {
|
||||
match c {
|
||||
|
||||
Reference in New Issue
Block a user