Bug 230327 - cleanlinks -h: no help, but deletes all symlinks!
cleanlinks -h: no help, but deletes all symlinks!
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: imake (Show other bugs)
7
All Linux
medium Severity high
: ---
: ---
Assigned To: X/OpenGL Maintenance List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-28 07:15 EST by Need Real Name
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-07-01 18:07:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
FreeDesktop.org 11443 None None None Never

  None (edit)
Description Need Real Name 2007-02-28 07:15:02 EST
cleanlinks can delete dangling symlinks and empty directories.

Great! Let's see how it works

[root@box etc]# cleanlinks -h
./rc4.d is a dangling symlink, removing
./rc5.d is a dangling symlink, removing
./init.d is a dangling symlink, removing
./rc2.d is a dangling symlink, removing
./rc3.d is a dangling symlink, removing
./rc1.d is a dangling symlink, removing
[snip]

Ouch.

cleanlinks should do two things differently:
1. It should barf if an unknown option is passed.
2. It should give help if -h is passed.
Comment 1 Marek Mahut 2007-06-30 07:22:39 EDT
Indeed, this script don't follow the POSIX standarts. No --help or --version are
available. Maybe it's a good idea to contact XFree86 project about it. 
Comment 2 Need Real Name 2007-07-01 18:07:46 EDT
Is cleanlinks in F7?
Comment 3 Need Real Name 2007-07-01 18:08:45 EDT
> Is cleanlinks in F7?

Please ignore this.

Note You need to log in before you can comment on or make changes to this bug.