- add --root=/foo cli shortcut for RPM::RootDir option
authorpmatilai <pmatilai>
Tue, 30 May 2006 08:30:39 +0000 (08:30 +0000)
committerpmatilai <pmatilai>
Tue, 30 May 2006 08:30:39 +0000 (08:30 +0000)
cmdline/apt-get.cc
doc/apt-get.8.sgml

index 9673490..8d24d0a 100644 (file)
@@ -3187,6 +3187,7 @@ int main(int argc,const char *argv[])
       {0,"only-source","APT::Get::Only-Source",0},
       {0,"arch-only","APT::Get::Arch-Only",0},
       {0,"check-only","APT::Get::Check-Only",0}, // CNC:2003-03-06
+      {0,"root","RPM::RootDir",CommandLine::HasArg},
       {'c',"config-file",0,CommandLine::ConfigFile},
       {'o',"option",0,CommandLine::ArbItem},
       {0,0,0,0}};
index f4db87d..1e92d10 100644 (file)
      </Para></ListItem>
      </VarListEntry>
      
+     <VarListEntry><term><option/--root/</>
+     <ListItem><Para>
+     Install to alternate root directory. For example
+     <option>--root /mnt/buildsys-fc4</>.
+     Configuration Item: <literal/RPM::RootDir/;
+     </Para></ListItem>
+     </VarListEntry>
+
      &apt-commonoptions;
      
    </VariableList>