mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-04-19 19:56:50 +00:00
feat: add note for OSB files within tree subcommand
This commit is contained in:
parent
2d2fb0dc61
commit
42d1151a6c
@ -154,9 +154,12 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
}
|
||||
OnkostarEditor::print_tree(&content);
|
||||
}
|
||||
InputFile::Osb { filename, .. }
|
||||
| InputFile::Profile { filename, .. }
|
||||
| InputFile::Other { filename, .. } => {
|
||||
InputFile::Osb { filename, .. } => return Err(Box::new(FileError::Reading(
|
||||
filename,
|
||||
"Nur OSC-Dateien werden unterstützt. OSB-Dateien erzeugen eine zu lange Ausgabe."
|
||||
.to_string(),
|
||||
))),
|
||||
InputFile::Profile { filename, .. } | InputFile::Other { filename, .. } => {
|
||||
return Err(Box::new(FileError::Reading(
|
||||
filename,
|
||||
"Nur OSC-Dateien werden unterstützt".to_string(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user