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