Edgewall Software
Modify

Ticket #4153 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

checkwiki.py allows -s?

Reported by: Tim Hatch <trac@…> Owned by: jonas
Priority: low Milestone: 0.11
Component: wiki system Version: devel
Severity: trivial Keywords:
Cc:
Release Notes:
API Changes:

Description

source:trunk/wiki-default/checkwiki.py@3882#L118 specifies that it accepts the options "-d" and "-s" if I read it correctly. But it doesn't do anything with "-s". Is this for compatibility with something before r300 when it was first versioned?

Attachments

Change History

comment:1 Changed 5 years ago by Tim Hatch <trac@…>

To be clear, I'm just asking if checkwiki.py should be patched as follows, because it accepts the option -s without doing anything with it or mentioning it in the help string.

  • checkwiki.py

     
    115115 
    116116if __name__ == '__main__': 
    117117    try: 
    118         opts, args = getopt.getopt(sys.argv[1:], "ds") 
     118        opts, args = getopt.getopt(sys.argv[1:], "d") 
    119119    except getopt.GetoptError: 
    120120        # print help information and exit: 
    121121        print "%s [-d]" % sys.argv[0] 

comment:2 Changed 5 years ago by cboos

  • Milestone set to 0.11
  • Severity changed from minor to trivial

checkwiki.py will be moved in contrib

comment:3 Changed 5 years ago by cboos

  • Resolution set to fixed
  • Status changed from new to closed

Done in r4951.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.