From 842bc7b58dca972a560a8ab056d7bc35ea3b5567 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 27 Mar 2025 17:12:42 +0100 Subject: feat(json_builder): tell user when file doesn't with json. Signed-off-by: Amlal El Mahrouss --- cli/CommandLine.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \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; } -- cgit v1.2.3