From dc76a426f070e0ef2715003d702f0e7a21a26d56 Mon Sep 17 00:00:00 2001 From: Tony Bark Date: Wed, 30 Apr 2025 07:01:50 -0400 Subject: [PATCH] Fixed a few oversights --- Program.cs | 8 ++++---- README.md | 6 +++--- S2PK.csproj | 4 ++++ 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Program.cs b/Program.cs index 659075d..307e2e7 100644 --- a/Program.cs +++ b/Program.cs @@ -3,12 +3,12 @@ using System.CommandLine; var rootCommand = new RootCommand("The Sims 2 .s2pk Package Manager"); -var sourceOption = new Option( +var sourceOption = new Option( aliases: ["--source", "-s"], description: "Source directory containing .package files") { IsRequired = true }; -var outputOption = new Option( +var outputOption = new Option( aliases: ["--output", "-o"], description: "Destination .s2pk archive file") { IsRequired = true }; @@ -25,12 +25,12 @@ packCommand.SetHandler((source, output) => PackageManager.PackPackages(source, output); }, sourceOption, outputOption); -var packageOption = new Option( +var packageOption = new Option( aliases: ["--package", "-p"], description: "Input .s2pk archive") { IsRequired = true }; -var destinationOption = new Option( +var destinationOption = new Option( aliases: ["--destination", "-d"], description: "Destination directory (e.g., The Sims 2 Downloads folder)") { IsRequired = true }; diff --git a/README.md b/README.md index ebba648..460f7a9 100644 --- a/README.md +++ b/README.md @@ -24,11 +24,11 @@ S2PK was created to address the need for a reliable and efficient cross-platform ## Example ```shell -s2pkg pack -s ./mods -o output.s2pk +s2pk pack -s ./mods -o output.s2pk ``` -``` -s2pkg unpack -p ./output.s2pk -d "%USERPROFILE%\Documents\EA Games\The Sims 2\Downloads" +```shell +s2pk unpack -p ./output.s2pk -d "%USERPROFILE%\Documents\EA Games\The Sims 2\Downloads" ``` ## 🗓️ Update Cycle diff --git a/S2PK.csproj b/S2PK.csproj index ab4e733..48a4c19 100644 --- a/S2PK.csproj +++ b/S2PK.csproj @@ -6,6 +6,10 @@ 0.1.101 enable enable + Tony Bark + true + s2pk + s2pk