[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][master] rm.py: fix options without short option



Title: GitLab

Ansgar pushed to branch master at Debian FTP Team / dak

Commits:

  • 921e88e8
    by Ansgar at 2022-09-10T10:48:59+02:00
    rm.py: fix options without short option
    

1 changed file:

Changes:

  • dak/rm.py
    ... ... @@ -127,7 +127,7 @@ def main():
    127 127
                      ('a', "architecture", "Rm::Options::Architecture", "HasArg"),
    
    128 128
                      ('b', "binary", "Rm::Options::Binary"),
    
    129 129
                      ('B', "binary-only", "Rm::Options::Binary-Only"),
    
    130
    -                 ('', "binary-version", "Rm::Options::Binary-Version"),
    
    130
    +                 ('\0', "binary-version", "Rm::Options::Binary-Version"),
    
    131 131
                      ('c', "component", "Rm::Options::Component", "HasArg"),
    
    132 132
                      ('C', "carbon-copy", "Rm::Options::Carbon-Copy", "HasArg"), # Bugs to Cc
    
    133 133
                      ('d', "done", "Rm::Options::Done", "HasArg"), # Bugs fixed
    
    ... ... @@ -139,7 +139,7 @@ def main():
    139 139
                      ('p', "partial", "Rm::Options::Partial"),
    
    140 140
                      ('s', "suite", "Rm::Options::Suite", "HasArg"),
    
    141 141
                      ('S', "source-only", "Rm::Options::Source-Only"),
    
    142
    -                 ('', "source-version", "Rm::Options::Source-Version"),
    
    142
    +                 ('\0', "source-version", "Rm::Options::Source-Version"),
    
    143 143
                      ]
    
    144 144
     
    
    145 145
         for i in ['NoArchAllRdeps',
    


  • Reply to: