[Bug 1930139] [NEW] the --no-directories option incorrectly documented in the man page

Bill Yikes 1930139 at bugs.launchpad.net
Sat May 29 14:29:41 UTC 2021


Public bug reported:

man page shows:

       -nd
       --no-directories
           Do not create a hierarchy of directories when retrieving recursively.  With this option turned on, all files will get saved
           to the current directory, without clobbering (if a name shows up more than once, the filenames will get extensions .n).


The way that's written implies that the -nd option would conflict with the -P option.  But when -nd is combined with --directory-prefix (-P), wget honors the prefix and also downloads to a flat non-hierarchical "structure".  The behavior is sensible but the docs are wrong (-nd does not necessarily download to the current dir).

** Affects: wget (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to wget in Ubuntu.
https://bugs.launchpad.net/bugs/1930139

Title:
  the --no-directories option incorrectly documented in the man page

Status in wget package in Ubuntu:
  New

Bug description:
  man page shows:

         -nd
         --no-directories
             Do not create a hierarchy of directories when retrieving recursively.  With this option turned on, all files will get saved
             to the current directory, without clobbering (if a name shows up more than once, the filenames will get extensions .n).

  
  The way that's written implies that the -nd option would conflict with the -P option.  But when -nd is combined with --directory-prefix (-P), wget honors the prefix and also downloads to a flat non-hierarchical "structure".  The behavior is sensible but the docs are wrong (-nd does not necessarily download to the current dir).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wget/+bug/1930139/+subscriptions



More information about the foundations-bugs mailing list