summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-24 20:04:26 +0100
committerMichael Vogt <mvo@debian.org>2014-01-24 20:04:26 +0100
commita555cf8be53d8b5557f004ecbde8482a169b79f3 (patch)
tree135609e4fc1c71b014c5e3d76935e93e66cf3e18 /cmdline
parent54864645c108130633037590321a5ec8d3e29f2a (diff)
describe script usage in the manpage
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/cmdline/apt.cc b/cmdline/apt.cc
index 170478174..60a83c7ce 100644
--- a/cmdline/apt.cc
+++ b/cmdline/apt.cc
@@ -107,17 +107,6 @@ int main(int argc, const char *argv[]) /*{{{*/
std::vector<CommandLine::Args> Args = getCommandArgs("apt", CommandLine::GetCommand(Cmds, argc, argv));
- if(!isatty(1))
- {
- std::cerr << std::endl
- << "WARNING WARNING "
- << argv[0]
- << " is *NOT* intended for scripts "
- << "use at your own peril^Wrisk"
- << std::endl
- << std::endl;
- }
-
InitOutput();
// Set up gettext support