Skip to content

Commit

Permalink
rTorrent: Help menu version and bugs link (#17)
Browse files Browse the repository at this point in the history
Changes to menu to determine version

Just a general idea of how to make Changes to menu to determine version which are updated every release
  • Loading branch information
ac1dburnz authored Jul 11, 2024
1 parent 78cfcda commit 3cb8664
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rtorrent/configure.ac
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AC_INIT(rtorrent, 0.9.8, [email protected])

AC_DEFINE(API_VERSION, 10, api version)

AC_DEFINE(STICKZ_VERSION, "0.9.8-v5.0", rtorrent stickz version)
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS(config.h)

Expand Down
5 changes: 3 additions & 2 deletions rtorrent/src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ do_panic(int signum) {

void
print_help() {
std::cout << "Rakshasa's BitTorrent client version " VERSION "." << std::endl;
std::cout << "rtorrent stickz BitTorrent client version " STICKZ_VERSION "." << std::endl;
std::cout << std::endl;
std::cout << "All value pairs (f.ex rate and queue size) will be in the UP/DOWN" << std::endl;
std::cout << "order. Use the up/down/left/right arrow keys to move between screens." << std::endl;
Expand Down Expand Up @@ -686,7 +686,8 @@ print_help() {
std::cout << " o View trackers" << std::endl;
std::cout << std::endl;

std::cout << "Report bugs to <[email protected]>." << std::endl;
std::cout << "Report bugs to <https://github.com/stickz/rtorrent/issues>." << std::endl;


exit(0);
}

0 comments on commit 3cb8664

Please sign in to comment.