aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@inria.fr>2026-02-17 19:15:23 +0100
committerTristan Riehs <tristan.riehs@inria.fr>2026-02-17 19:15:23 +0100
commitc91928f04464fa6586acf921d2b0530af4aab82e (patch)
treea1f84079b31a9cd38576ac5bbe69e4bb7a4a68a8
parentf8e9b8e3c54724d5c3b8007e3fe07781f3e205c0 (diff)
Improve help message
Sometime "help" does not work while "-h" does. For example with "ftag file add".
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a5a086d..fc04f56 100644
--- a/src/main.c
+++ b/src/main.c
@@ -959,7 +959,8 @@ static void ftag_help(int, char **)
puts(" query query the database");
puts(" sync synchronize with a remote");
puts(" tag manage tags");
- puts("Some commands also have their own help, try \"ftag COMMAND help\"");
+ puts("Some commands also have their own help,");
+ puts("try \"ftag COMMAND help\" or \"ftag COMMAND -h\".");
puts("Configuration:");
printf(" cache %s\n", FTAG_CACHE_DIR);
printf(" config %s\n", FTAG_CONFIG_DIR);