Merge pull request #851 from kiwix/CD-is-broken-#969
Some checks failed
Packages / build-deb (ubuntu-jammy) (push) Has been cancelled
Packages / build-deb (ubuntu-noble) (push) Has been cancelled
CI / Linux (linux-x86_64, jammy, /x86_64-linux-gnu, linux-x86_64-static) (push) Has been cancelled
CI / Windows (push) Has been cancelled
CI / Linux (linux-x86_64, jammy, /x86_64-linux-gnu, linux-x86_64-dyn) (push) Has been cancelled

Fixing deprecation warning in kiwix-manage
This commit is contained in:
Kelson 2026-10-01 11:44:30 +02:00 • committed by GitHub
commit 4717ee15fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ void show(const kiwix::Library& library, const std::string& bookId)
auto& book = library.getBookById(bookId);
std::cout << "id:\t\t" << book.getId() << std::endl
<< "path:\t\t" << book.getPath() << std::endl
<< "url:\t\t" << book.getUrl() << std::endl
<< "url:\t\t" << book.getUrl(kiwix::Book::AcquisitionLinkKind::DIRECT) << std::endl
<< "title:\t\t" << book.getTitle() << std::endl
<< "name:\t\t" << book.getName() << std::endl
<< "tags:\t\t" << book.getTags() << std::endl