aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-01-13 18:25:09 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-01-14 20:42:42 +0000
commitd592ca76292b9a2d81312b1887df542b9b128e25 (patch)
treefdc7cbb6354d7744692f9d9dc8ba8cd1e7802cb5
parent35402f6a25d9439c310216ed1f7c55222dde3db3 (diff)
downloadpaludis-d592ca76292b9a2d81312b1887df542b9b128e25.tar.gz
paludis-d592ca76292b9a2d81312b1887df542b9b128e25.tar.xz
Better man cave
-rw-r--r--src/clients/cave/command_line.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/clients/cave/command_line.cc b/src/clients/cave/command_line.cc
index 527bfe8..dcfda65 100644
--- a/src/clients/cave/command_line.cc
+++ b/src/clients/cave/command_line.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2008, 2009 Ciaran McCreesh
+ * Copyright (c) 2008, 2009, 2010 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -29,5 +29,10 @@ CaveCommandLine::CaveCommandLine() :
a_log_level(&g_global_options, "log-level", '\0')
{
add_usage_line("[ --environment class:suffix ] [ --log-level level ] COMMAND [ARGS...]");
+ add_description_line("For the COMMAND argument, see 'cave help' for a list of common commands, "
+ "or 'cave help --all' for all commands. To see documentation for a command named "
+ "'foo', use 'man cave-foo'.");
+ add_description_line("Arguments specified after the COMMAND are handled by the individual "
+ "commands. Arguments before the COMMAND are global arguments shared by all commands.");
}