[haiku-bugs] [Haiku] #5832: [catattr] Use getopt[_long]() for command line args parsing (easy)

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Tue, 27 Apr 2010 15:13:30 -0000

#5832: [catattr] Use getopt[_long]() for command line args parsing (easy)
---------------------------------------------+------------------------------
 Reporter:  bonefish                         |       Owner:  nobody        
     Type:  bug                              |      Status:  new           
 Priority:  normal                           |   Milestone:  R1            
Component:  Applications/Command Line Tools  |     Version:  R1/Development
 Keywords:                                   |   Blockedby:                
 Platform:  All                              |    Blocking:                
---------------------------------------------+------------------------------
 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.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5832>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: