aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-10-22 18:49:57 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-10-22 18:49:57 +0000
commit5feb94cb2317f4910a4c785b8bb600e8b710a3cc (patch)
treeedb58fe0a6415aee34982c9a628e23f4b4be8739
parent79e94a4209eabb1ccce28d0a6a9fe6b892b9bde9 (diff)
downloadpaludis-5feb94cb2317f4910a4c785b8bb600e8b710a3cc.tar.gz
paludis-5feb94cb2317f4910a4c785b8bb600e8b710a3cc.tar.xz
List the relevant *_OPTIONS environment variables and no others in the man pages.
-rw-r--r--src/clients/accerso/command_line.cc2
-rw-r--r--src/clients/adjutrix/command_line.cc4
-rw-r--r--src/clients/contrarius/command_line.cc1
-rw-r--r--src/clients/importare/command_line.cc2
-rw-r--r--src/clients/instruo/command_line.cc2
-rw-r--r--src/clients/paludis/command_line.cc11
-rw-r--r--src/clients/qualudis/qualudis_command_line.cc1
7 files changed, 7 insertions, 16 deletions
diff --git a/src/clients/accerso/command_line.cc b/src/clients/accerso/command_line.cc
index ce016bd..0fb5642 100644
--- a/src/clients/accerso/command_line.cc
+++ b/src/clients/accerso/command_line.cc
@@ -51,6 +51,8 @@ CommandLine::CommandLine() :
"Write report to the specified file, rather than stdout")
{
add_usage_line("--fetch");
+
+ add_environment_variable("ACCERSO_OPTIONS", "Default command-line options.");
}
std::string
diff --git a/src/clients/adjutrix/command_line.cc b/src/clients/adjutrix/command_line.cc
index 9365748..5859503 100644
--- a/src/clients/adjutrix/command_line.cc
+++ b/src/clients/adjutrix/command_line.cc
@@ -134,10 +134,6 @@ CommandLine::CommandLine() :
add_usage_line("--version");
add_usage_line("--help");
- add_environment_variable("PALUDIS_EBUILD_DIR", "Where to look for ebuild.bash and related "
- "utilities.");
- add_environment_variable("PALUDIS_REPOSITORY_SO_DIR", "Where to look for repository .so "
- "files.");
add_environment_variable("ADJUTRIX_OPTIONS", "Default command-line options.");
}
diff --git a/src/clients/contrarius/command_line.cc b/src/clients/contrarius/command_line.cc
index 013fdee..52c389c 100644
--- a/src/clients/contrarius/command_line.cc
+++ b/src/clients/contrarius/command_line.cc
@@ -70,6 +70,7 @@ CommandLine::CommandLine() :
a_no_color(&a_no_colour, "no-color"),
a_resume_command_template(&output_options, "resume-command-template", '\0', "Save the resume command to a file made using mkstemp(3)")
{
+ add_environment_variable("CONTRARIUS_OPTIONS", "Default command-line options.");
}
CommandLine::~CommandLine()
diff --git a/src/clients/importare/command_line.cc b/src/clients/importare/command_line.cc
index 2e566ad..6306f8e 100644
--- a/src/clients/importare/command_line.cc
+++ b/src/clients/importare/command_line.cc
@@ -61,6 +61,8 @@ CommandLine::CommandLine() :
install_args.a_no_safe_resume.remove();
dl_args.dl_reinstall_targets.remove();
+
+ add_environment_variable("IMPORTARE_OPTIONS", "Default command-line options.");
}
std::string
diff --git a/src/clients/instruo/command_line.cc b/src/clients/instruo/command_line.cc
index d732fd2..1cbcdcc 100644
--- a/src/clients/instruo/command_line.cc
+++ b/src/clients/instruo/command_line.cc
@@ -49,6 +49,8 @@ CommandLine::CommandLine() :
"Write report to the specified file, rather than stdout")
{
add_usage_line("--generate-cache [ at least one of --repository-dir /dir or --output-dir /dir ]");
+
+ add_environment_variable("INSTRUO_OPTIONS", "Default command-line options.");
}
std::string
diff --git a/src/clients/paludis/command_line.cc b/src/clients/paludis/command_line.cc
index 212a735..1315c4d 100644
--- a/src/clients/paludis/command_line.cc
+++ b/src/clients/paludis/command_line.cc
@@ -150,17 +150,6 @@ CommandLine::CommandLine() :
add_usage_line("--list-repository-formats");
add_usage_line("--list-dep-tag-categories");
- add_environment_variable("PALUDIS_HOME", "Overrides the home directory used when searching "
- "for configuration files etc.");
- add_environment_variable("PALUDIS_NO_GLOBAL_HOOKS", "Don't use global hooks. Mostly for "
- "internal and test case use.");
- add_environment_variable("PALUDIS_SKIP_CONFIG", "Don't load configuration. Mostly for "
- "internal and test case use.");
- add_environment_variable("PALUDIS_EBUILD_DIR", "Where to look for ebuild.bash and related "
- "utilities.");
- add_environment_variable("PALUDIS_REPOSITORY_SO_DIR", "Where to look for repository .so "
- "files.");
- add_environment_variable("PALUDIS_FETCHERS_DIR", "Where to look for fetcher scripts.");
add_environment_variable("PALUDIS_OPTIONS", "Default command-line options.");
}
diff --git a/src/clients/qualudis/qualudis_command_line.cc b/src/clients/qualudis/qualudis_command_line.cc
index 33968a5..8c30b37 100644
--- a/src/clients/qualudis/qualudis_command_line.cc
+++ b/src/clients/qualudis/qualudis_command_line.cc
@@ -59,7 +59,6 @@ QualudisCommandLine::QualudisCommandLine() :
{
add_usage_line("[ options ] [ directories ... ]");
add_environment_variable("QUALUDIS_OPTIONS", "Default command-line options.");
- add_environment_variable("PALUDIS_QA_DATA_DIR", "Where to look for QA data files.");
}
QualudisCommandLine::~QualudisCommandLine()