From 2881b074f070d0e4eb72aa941a6748dab40aded3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wies=C5=82aw=20=C5=A0olt=C3=A9s?= Date: Sun, 4 Sep 2016 13:02:08 +0200 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4558b33..2ff6c1a 100644 --- a/README.md +++ b/README.md @@ -75,8 +75,10 @@ namespace SimpleWavSplitter.Console else { var v = Assembly.GetExecutingAssembly().GetName().Version; - var title = string.Format("SimpleWavSplitterConsole v{0}.{1}.{2}", v.Major, v.Minor, v.Build); - WriteLine(title); + WriteLine( + string.Format( + "SimpleWavSplitterConsole v{0}.{1}.{2}", + v.Major, v.Minor, v.Build)); Write(Environment.NewLine); WriteLine("Usage:"); WriteLine("SimpleWavSplitter.Console []"); @@ -86,12 +88,16 @@ namespace SimpleWavSplitter.Console try { long bytesTotal = 0; - var splitter = new WavFileSplitter(value => Write(string.Format("\rProgress: {0:0.0}%", value))); + var splitter = new WavFileSplitter( + value => Write(string.Format("\rProgress: {0:0.0}%", value))); var sw = Stopwatch.StartNew(); bytesTotal = splitter.SplitWavFile(fileName, outputPath, CancellationToken.None); sw.Stop(); Write(Environment.NewLine); - WriteLine(string.Format("Data bytes processed: {0} ({1} MB)", bytesTotal, Round((double)bytesTotal / (1024 * 1024), 1))); + WriteLine( + string.Format( + "Data bytes processed: {0} ({1} MB)", + bytesTotal, Round((double)bytesTotal / (1024 * 1024), 1))); WriteLine(string.Format("Elapsed time: {0}", sw.Elapsed)); Environment.Exit(0); }