mirror of
https://codeberg.org/demostf/edit.git
synced 2026-11-30 10:00:50 +01:00
fmt + CL_PreserveExistingEntity wip fix
This commit is contained in:
parent
4a970e81a2
commit
e95a9e4a2c
11 changed files with 139 additions and 49 deletions
|
|
@ -20,7 +20,10 @@ impl Args {
|
|||
EditOptions {
|
||||
unlock_pov: self.unlock_pov,
|
||||
cut: if let (Some(from), Some(to)) = (self.from, self.to) {
|
||||
Some(TickRange { from: from.into(), to: to.into() })
|
||||
Some(TickRange {
|
||||
from: from.into(),
|
||||
to: to.into(),
|
||||
})
|
||||
} else {
|
||||
None
|
||||
},
|
||||
|
|
@ -30,6 +33,7 @@ impl Args {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
env_logger::init();
|
||||
let args: Args = Args::parse();
|
||||
let options = args.get_options();
|
||||
let file = fs::read(&args.path).unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue