Unify handling of command-line option parsing
Our function for parsing the command line does not actually set up various command-line-only options, leaving that to be done elsewhere. We should make this table-driven, so we can simplify our code.
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Nick Mathewson changed milestone to %Tor: 0.4.3.x-final
changed milestone to %Tor: 0.4.3.x-final
Trac:
Parent Ticket: #29211 (moved)- Author
branch is
cmdline_refactor
with PT at https://github.com/torproject/tor/pull/1400. I'll wait for CI and coverage before I merge_ready. - Author
CI has passed; I've squashed some fixups, split a commit, and re-pushed. Putting in needs_review under the presumption it will pass again.
Trac:
Status: assigned to needs_review - Author
Trac:
Reviewer: N/A to teor - Author
I've made the requested changes. For the quiet levels, I think I can do that, but what do you mean by "mode"?
I'd hoped that the existing tests might be enough for this patch, since they cover 100% of affected lines; I'd be okay with writing more, though.
- Author
Trac:
Status: needs_revision to needs_review Ok, if we have 100% coverage, we don't need more tests.
There's one fix remaining: the CMD_OTHER rename didn't reach the nt_service files: https://ci.appveyor.com/project/torproject/tor/builds/28177080/job/svbqubudyuw6c38i#L3075
When that's fixed, and CI passes, feel free to merge this ticket.
- Author
ok, pushed a fix and waiting for CI.
- Author
(To be clear, the 100% coverage is on the lines modified by this branch; I hope that's ok)
- Author
CI passed; squashed and merging.
Trac:
Resolution: N/A to implemented
Status: needs_review to closed
Actualpoints: .3 to .4 - Trac closed
closed
- Trac changed time estimate to 3h 12m
changed time estimate to 3h 12m
- Trac added 3h 12m of time spent
added 3h 12m of time spent
- Trac mentioned in issue #29211 (moved)
mentioned in issue #29211 (moved)
- Trac moved to tpo/core/tor#32003 (closed)
moved to tpo/core/tor#32003 (closed)