summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-27 17:12:42 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-27 17:12:42 +0100
commit842bc7b58dca972a560a8ab056d7bc35ea3b5567 (patch)
treeafabd8aac5fc7f08368796ea839bec2bd88a7c1d
parent6a8d9a92b2a94843d8310c15a99a5f2eec677027 (diff)
feat(json_builder): tell user when file doesn't with json.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
-rw-r--r--cli/CommandLine.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/CommandLine.cc b/cli/CommandLine.cc
index 6b54b25..aedefff 100644
--- a/cli/CommandLine.cc
+++ b/cli/CommandLine.cc
@@ -23,7 +23,7 @@ int main(int argc, char** argv)
index_path == "--version")
{
std::cout << "Usage: btb <file>\n";
- std::cout << "Bugs, Issues?, check out: https://github.com/ne-gh/btb/issues\n";
+ std::cout << "Bugs, Issues?, check out: https://github.com/amlel-el-mahrouss/btb/issues\n";
std::cout << "Brought to you by Amlal El Mahrouss for the NeKernel project.\n";
std::cout << "© 2024-2025 Amlal El Mahrouss, all rights reserved.\n";
@@ -53,6 +53,7 @@ int main(int argc, char** argv)
}
else
{
+ std::cout << "btb: error: file '" << index_path << "' does not end with .json!" << std::endl;
kFailed = true;
return;
}