Opened 9 years ago

Closed 9 years ago

#5832 closed bug (fixed)

[catattr] Use getopt[_long]() for command line args parsing (easy)

Reported by: bonefish Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

catattr's command line args parsing code is naive and not quite correct. E.g. catattr -r -P does nothing, catattr -P -r attr file doesn't work.

Attachments (1)

catattr.diff (3.1 KB) - added by ashagarov 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by ashagarov

Attachment: catattr.diff added

comment:1 Changed 9 years ago by korli

Applied with changes by myself in hrev36739.

comment:2 Changed 9 years ago by korli

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.