From 32a1583efd78b358e7907d89ea133e2e9e8c4309 Mon Sep 17 00:00:00 2001 From: jim Date: Tue, 9 Jun 2026 15:18:25 -0500 Subject: [PATCH] Document exit-status codes in --help output The new 0/1/2 exit codes had no footprint in --help; add an Exit status line so the documented behavior matches what the program now returns. Co-Authored-By: Claude Opus 4.8 --- URLNotesGrabberCORE/Program.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/URLNotesGrabberCORE/Program.cs b/URLNotesGrabberCORE/Program.cs index 553cb83..c1476a6 100644 --- a/URLNotesGrabberCORE/Program.cs +++ b/URLNotesGrabberCORE/Program.cs @@ -441,6 +441,9 @@ namespace URLNotesGrabberCORE Console.WriteLine("-updatepaths [rootPath]\t Read .tumblr/.tmblrpriv metadata from \\Index and set Blogs.TTFolderPath"); Console.WriteLine("-importposts [path-to-posts.db]\t One-time migration: copy legacy ThreeTxtFileHelper posts.db rows into TL.db"); + + Console.WriteLine(); + Console.WriteLine("Exit status: 0 = success; 1 = unexpected error; 2 = usage error (unknown command or bad/missing arguments)"); } static void WritePostBlogsToFile(string outPath)