Skip to content

Commit

Permalink
fix(cli): remove angle brackets around path parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
craftablescience committed Feb 10, 2025
1 parent e70ca31 commit 97291c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ int main(int argc, const char* const* argv) {
"when it is still unclear. Almost all modes are compatible with each other, and will run in the\n"
"most logical sequence possible.");

cli.add_argument("<path>")
cli.add_argument("path")
.help("(Pack) The directory to pack the contents of into a new pack file.\n"
"(Extract) The path to the pack file to extract the contents of.\n"
"(Generate) The name of the file(s) to generate.\n"
Expand Down Expand Up @@ -582,7 +582,7 @@ int main(int argc, const char* const* argv) {
try {
cli.parse_args(argc, argv);

std::string inputPath{cli.get("<path>")};
std::string inputPath{cli.get("path")};
if (inputPath.ends_with('/') || inputPath.ends_with('\\')) {
inputPath.pop_back();
}
Expand Down

0 comments on commit 97291c5

Please sign in to comment.