summaryrefslogtreecommitdiff
path: root/bin/schroot
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2013-04-05 00:19:51 +0100
committerRoger Leigh <rleigh@debian.org>2013-04-05 00:19:51 +0100
commitfbc3d19a92afda89ef1df2fa4173e9bb14465de9 (patch)
tree0c5b3490fdde83342d2f8536868b96dc051d4efa /bin/schroot
parent3e3443d7c80d58aa74c02d05435dc6d41a14d232 (diff)
downloadschroot-fbc3d19a92afda89ef1df2fa4173e9bb14465de9.tar.gz
schroot-common: Rename main_base to main
Diffstat (limited to 'bin/schroot')
-rw-r--r--bin/schroot/main.cc4
-rw-r--r--bin/schroot/main.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/schroot/main.cc b/bin/schroot/main.cc
index fbf0a7b9..d039380d 100644
--- a/bin/schroot/main.cc
+++ b/bin/schroot/main.cc
@@ -38,7 +38,7 @@ using sbuild::_;
using namespace schroot;
main::main (schroot_common::options_base::ptr& options):
- schroot_common::main_base("schroot",
+ schroot_common::main("schroot",
_("[OPTION…] [COMMAND] — run command or shell in a chroot"),
options,
true)
@@ -70,7 +70,7 @@ main::create_session(sbuild::session::operation sess_op)
void
main::add_session_auth ()
{
- main_base::add_session_auth();
+ schroot_common::main::add_session_auth();
if (!this->options->user.empty())
this->session->get_auth()->set_user(this->options->user);
diff --git a/bin/schroot/main.h b/bin/schroot/main.h
index 016cdf70..d6ec179e 100644
--- a/bin/schroot/main.h
+++ b/bin/schroot/main.h
@@ -19,7 +19,7 @@
#ifndef SCHROOT_MAIN_H
#define SCHROOT_MAIN_H
-#include <schroot-common/main-base.h>
+#include <schroot-common/main.h>
#include <schroot-common/options-base.h>
/**
@@ -31,7 +31,7 @@ namespace schroot
/**
* Frontend for schroot. This class is used to "run" schroot.
*/
- class main : public schroot_common::main_base
+ class main : public schroot_common::main
{
public:
/**