diff --git a/src/MkFwData/Program.cs b/src/MkFwData/Program.cs index b9d62d95..fef8e616 100644 --- a/src/MkFwData/Program.cs +++ b/src/MkFwData/Program.cs @@ -21,32 +21,32 @@ static async Task Main(string[] args) rootCommand.AddGlobalOption(quietOption); var splitCommand = new Command("split", "Split .fwdata file (push Humpty off the wall)"); - var combineCommand = new Command("combine", "Recombine .fwdata file (put Humpty together again)"); + var buildCommand = new Command("build", "Rebuild .fwdata file (put Humpty together again)"); rootCommand.Add(splitCommand); - rootCommand.Add(combineCommand); + rootCommand.Add(buildCommand); var filename = new Argument( "file", "Name of .fwdata file to create or split, or directory to create/split it in" ); splitCommand.Add(filename); - combineCommand.Add(filename); + buildCommand.Add(filename); var hgRevOption = new Option( ["--rev", "-r"], "Revision to check out (default \"tip\")" ); hgRevOption.SetDefaultValue("tip"); - combineCommand.AddGlobalOption(hgRevOption); + buildCommand.AddGlobalOption(hgRevOption); var cleanupOption = new Option( ["--cleanup", "-c"], "Clean repository after creating .fwdata file (CAUTION: deletes every other file except .fwdata)" ); - combineCommand.Add(cleanupOption); + buildCommand.Add(cleanupOption); - combineCommand.SetHandler(CombineFwData, filename, verboseOption, quietOption, hgRevOption, cleanupOption); + buildCommand.SetHandler(BuildFwData, filename, verboseOption, quietOption, hgRevOption, cleanupOption); var cleanupOptionForSplit = new Option( ["--cleanup", "-c"], @@ -109,7 +109,7 @@ static Task SplitFwData(string filename, bool verbose, bool quiet, bool cle return Task.FromResult(0); } - static Task CombineFwData(string filename, bool verbose, bool quiet, string rev, bool cleanup) + static Task BuildFwData(string filename, bool verbose, bool quiet, string rev, bool cleanup) { IProgress progress = quiet ? new NullProgress() : new ConsoleProgress(); progress.ShowVerbose = verbose;