@@ -21,6 +21,7 | |||
|
21 | 21 | # |
|
22 | 22 | # Issue attributes control options: |
|
23 | 23 | # -p, --project=PROJECT identifier of the target project |
|
24 | # -s, --status=STATUS name of the target status | |
|
24 | 25 | # -t, --tracker=TRACKER name of the target tracker |
|
25 | 26 | # --category=CATEGORY name of the target category |
|
26 | 27 | # --priority=PRIORITY name of the target priority |
@@ -75,6 +76,7 class RedmineMailHandler | |||
|
75 | 76 | [ '--url', '-u', GetoptLong::REQUIRED_ARGUMENT ], |
|
76 | 77 | [ '--key', '-k', GetoptLong::REQUIRED_ARGUMENT], |
|
77 | 78 | [ '--project', '-p', GetoptLong::REQUIRED_ARGUMENT ], |
|
79 | [ '--status', '-s', GetoptLong::REQUIRED_ARGUMENT ], | |
|
78 | 80 | [ '--tracker', '-t', GetoptLong::REQUIRED_ARGUMENT], |
|
79 | 81 | [ '--category', GetoptLong::REQUIRED_ARGUMENT], |
|
80 | 82 | [ '--priority', GetoptLong::REQUIRED_ARGUMENT], |
@@ -93,7 +95,7 class RedmineMailHandler | |||
|
93 | 95 | self.verbose = true |
|
94 | 96 | when '--version' |
|
95 | 97 | puts VERSION; exit |
|
96 | when '--project', '--tracker', '--category', '--priority' | |
|
98 | when '--project', '--status', '--tracker', '--category', '--priority' | |
|
97 | 99 | self.issue_attributes[opt.gsub(%r{^\-\-}, '')] = arg.dup |
|
98 | 100 | when '--allow-override' |
|
99 | 101 | self.allow_override = arg.dup |
General Comments 0
You need to be logged in to leave comments.
Login now