cl-repl: increase jank: first positional arg is main file, remainder are imports
This commit is contained in:
parent
524c84be9e
commit
695c812bf5
@ -35,6 +35,10 @@ argwerk::define! {
|
|||||||
[#[option] path] if file.is_none() => {
|
[#[option] path] if file.is_none() => {
|
||||||
file = path.map(Into::into);
|
file = path.map(Into::into);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[path] if file.is_some() => {
|
||||||
|
include.push(path.into());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// gets whether stdin AND stdout are a terminal, for pipelining
|
/// gets whether stdin AND stdout are a terminal, for pipelining
|
||||||
|
Loading…
Reference in New Issue
Block a user