From 93da965805a8df0f4b12a77205d82344a63f2389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Mon, 4 Nov 2024 16:36:59 +0100 Subject: [PATCH] Add message for man page to help information. --- TODO.md | 2 +- src/arg_parse.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index ecf6fde..eb81e16 100644 --- a/TODO.md +++ b/TODO.md @@ -4,7 +4,7 @@ - [X] Add basic functionality. - [X] Add more safeguards to avoid bad usage. - [X] Create a man page. - - [ ] Add more documentation to `help` subcommand. + - [X] Add more documentation to `help` subcommand. - [X] Properly align output columns from `list` subcommand. - [X] Add feature for editing recipe name and description. - [X] Name diff --git a/src/arg_parse.hpp b/src/arg_parse.hpp index 461aeb3..0f60ef9 100644 --- a/src/arg_parse.hpp +++ b/src/arg_parse.hpp @@ -79,6 +79,7 @@ static inline void print_help(void) { "\thelp, -h, --help Show this help information.\n" "\tversion, -v, --version Show version information.\n" << std::endl; + std::cout << "For more information about subcommands, use 'man menu-helper'." << std::endl; } enum cmd_id parse_args(const std::string &cmd);