[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#65153: there is no --dry-run option in apt-get, yet it's documented [patch]



Package: apt

Hi,

# apt-get --dry-run
E: Command line option --dry-run is not understood

The manual page for apt-get contains:

       -s, --simulate, --just-print, --dry-run, --recon, --no-act
              No action; perform  a  simulation  of  events  that
              would  occur but do not actually change the system.
              Configuration Item: APT::Get::Simulate.

Here's a patch against the CVS version:

--- apt-get.8.yo~       Fri Feb 11 04:37:46 2000
+++ apt-get.8.yo        Sat Jun  3 17:18:30 2000
@@ -178,7 +178,7 @@
 you did not expect.
 Configuration Item: bf(quiet)

-dit(bf(-s, --simulate, --just-print, --dry-run, --recon, --no-act))
+dit(bf(-s, --simulate, --just-print, --recon, --no-act))
 No action; perform a simulation of events that would occur but do not
 actually change the system. Configuration Item: bf(APT::Get::Simulate).

Or this, if you wish to leave the option (I have no opinion, either is fine :)

--- apt-get.cc~ Sun May 14 08:01:04 2000
+++ apt-get.cc  Sat Jun  3 17:19:50 2000
@@ -1692,6 +1692,7 @@
       {'s',"just-print","APT::Get::Simulate",0},
       {'s',"recon","APT::Get::Simulate",0},
       {'s',"no-act","APT::Get::Simulate",0},
+      {'s',"dry-run","APT::Get::Simulate",0},
       {'y',"yes","APT::Get::Assume-Yes",0},
       {'y',"assume-yes","APT::Get::Assume-Yes",0},
       {'f',"fix-broken","APT::Get::Fix-Broken",0},

Also, yodl is missing from Build-Depends:, and that is apparently required
to build the manual pages from .yo files.

Please fix these, thanks.

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: