We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bc5348 commit 54c2060Copy full SHA for 54c2060
src/main.rs
@@ -14,6 +14,7 @@ use std::{
14
mod cmp;
15
mod context_diff;
16
mod diff;
17
+mod sdiff;
18
mod ed_diff;
19
mod macros;
20
mod normal_diff;
@@ -71,6 +72,7 @@ fn main() -> ExitCode {
71
72
match util_name.to_str() {
73
Some("diff") => diff::main(args),
74
Some("cmp") => cmp::main(args),
75
+ Some("sdiff") => sdiff::main(),
76
Some(name) => {
77
eprintln!("{}: utility not supported", name);
78
ExitCode::from(2)
src/sdiff.rs
@@ -0,0 +1,5 @@
1
+use std::process::ExitCode;
2
+
3
+pub fn main() -> ExitCode {
4
+ ExitCode::SUCCESS
5
+}
0 commit comments