Add line numbers to the verbose output

Issue #5 resolved
Craig Phillips repo owner created an issue

When displaying verbose output from the program, show the line numbers for files that would have changes made to them.

e.g. Such output as:

Processing file: D:\Documents\Source Code\SampleApp\AssemblyInfo.cs
Would Change: [assembly: AssemblyVersion("1.0.0.0")] to [assembly: AssemblyVersion("1.1.0.0")]
Would Change: [assembly: AssemblyFileVersion("1.0.0.0")] to [assembly: AssemblyFileVersion("1.1.0.0")]

then show the line numbers for the "Would change" lines of output, for example:

Processing file: D:\Documents\Source Code\SampleApp\AssemblyInfo.cs
Would Change Line 79: [assembly: AssemblyVersion("1.0.0.0")] to [assembly: AssemblyVersion("1.1.0.0")]
Would Change Line 81: [assembly: AssemblyFileVersion("1.0.0.0")] to [assembly: AssemblyFileVersion("1.1.0.0")]

Comments (1)

  1. Craig Phillips reporter

    Resolves #5 - Added line numbers to the verbose output

    When displaying verbose output (which can be implicit if using the dry run option) will now show the line numbers within each file that would change.

    → <<cset 010b9f7a117c>>

  2. Log in to comment